diff --git a/.idea/WooCommerce.iml b/.idea/WooCommerce.iml
index 44b2cf64..6828e16e 100644
--- a/.idea/WooCommerce.iml
+++ b/.idea/WooCommerce.iml
@@ -4,76 +4,74 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
-
-
+
+
+
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/php.xml b/.idea/php.xml
index d7c33327..f41096f5 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -95,8 +95,6 @@
-
-
diff --git a/composer.json b/composer.json
index f226bbd3..4100eb24 100644
--- a/composer.json
+++ b/composer.json
@@ -20,8 +20,8 @@
"ext-intl": "*",
"ext-json": "*",
"mollie/mollie-api-php": "^v2.40",
- "inpsyde/modularity": "^1.3.0",
- "psr/container": "1.0.0",
+ "inpsyde/modularity": "^1.7.4",
+ "psr/container": "1.1.0",
"psr/log":"^1.1.4",
"sniccowp/php-scoper-wordpress-excludes": "^6.6"
},
diff --git a/composer.lock b/composer.lock
index 2bda6eec..2243f5e9 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "5f1bf284400400658f0a0ca705864ad3",
+ "content-hash": "afd1fef3a31e6c8742cf9df94a0ca170",
"packages": [
{
"name": "composer/ca-bundle",
@@ -84,31 +84,31 @@
},
{
"name": "inpsyde/modularity",
- "version": "1.5.1",
+ "version": "1.10.0",
"source": {
"type": "git",
"url": "https://github.com/inpsyde/modularity.git",
- "reference": "3bbff6197aabbc4df25b5f386f521bedc71aff2e"
+ "reference": "2119d0e32706741a3c6dc0a85d908ec19ebf142e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/inpsyde/modularity/zipball/3bbff6197aabbc4df25b5f386f521bedc71aff2e",
- "reference": "3bbff6197aabbc4df25b5f386f521bedc71aff2e",
+ "url": "https://api.github.com/repos/inpsyde/modularity/zipball/2119d0e32706741a3c6dc0a85d908ec19ebf142e",
+ "reference": "2119d0e32706741a3c6dc0a85d908ec19ebf142e",
"shasum": ""
},
"require": {
"ext-json": "*",
- "php": ">=7.2",
- "psr/container": "~1.0"
+ "php": ">=7.4 <8.4",
+ "psr/container": "^1.1.0 || ^2"
},
"require-dev": {
"brain/monkey": "^2.6.1",
- "inpsyde/php-coding-standards": "^1",
- "johnpbloch/wordpress-core": ">=5.8",
- "mikey179/vfsstream": "^v1.6.10",
- "php-stubs/wordpress-stubs": ">=5.8@stable",
- "phpunit/phpunit": "^8.5.21",
- "vimeo/psalm": "^4.13.1"
+ "inpsyde/php-coding-standards": "^2@dev",
+ "inpsyde/wp-stubs-versions": "dev-latest",
+ "mikey179/vfsstream": "^v1.6.11",
+ "phpunit/phpunit": "^9.6.19",
+ "roots/wordpress-no-content": "@dev",
+ "vimeo/psalm": "^5.24.0"
},
"type": "library",
"extra": {
@@ -131,42 +131,27 @@
"email": "hello@inpsyde.com",
"homepage": "https://inpsyde.com/",
"role": "Company"
- },
- {
- "name": "Christian Leucht",
- "email": "c.leucht@inpsyde.com",
- "role": "Developer"
- },
- {
- "name": "Pablo Kauffman",
- "email": "p.kauffman@inpsyde.com",
- "role": "Developer"
- },
- {
- "name": "Giuseppe Mazzapica",
- "email": "g.mazzapica@inpsyde.com",
- "role": "Developer"
}
],
"description": "Modular PSR-11 implementation for WordPress plugins, themes or libraries.",
"support": {
"issues": "https://github.com/inpsyde/modularity/issues",
- "source": "https://github.com/inpsyde/modularity/tree/1.5.1"
+ "source": "https://github.com/inpsyde/modularity/tree/1.10.0"
},
- "time": "2022-03-09T13:59:27+00:00"
+ "time": "2024-09-03T10:42:50+00:00"
},
{
"name": "mollie/mollie-api-php",
- "version": "v2.72.0",
+ "version": "v2.73.0",
"source": {
"type": "git",
"url": "https://github.com/mollie/mollie-api-php.git",
- "reference": "cdfb298ff61737a077554c001e936e6134e7ed8e"
+ "reference": "0a26175492d4c55bb461e44fe3e63546539b81c1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mollie/mollie-api-php/zipball/cdfb298ff61737a077554c001e936e6134e7ed8e",
- "reference": "cdfb298ff61737a077554c001e936e6134e7ed8e",
+ "url": "https://api.github.com/repos/mollie/mollie-api-php/zipball/0a26175492d4c55bb461e44fe3e63546539b81c1",
+ "reference": "0a26175492d4c55bb461e44fe3e63546539b81c1",
"shasum": ""
},
"require": {
@@ -180,7 +165,7 @@
"eloquent/liberator": "^2.0||^3.0",
"friendsofphp/php-cs-fixer": "^3.0",
"guzzlehttp/guzzle": "^6.3 || ^7.0",
- "phpstan/phpstan": "^1.4",
+ "phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^8.5 || ^9.5"
},
"suggest": {
@@ -243,31 +228,31 @@
],
"support": {
"issues": "https://github.com/mollie/mollie-api-php/issues",
- "source": "https://github.com/mollie/mollie-api-php/tree/v2.72.0"
+ "source": "https://github.com/mollie/mollie-api-php/tree/v2.73.0"
},
- "time": "2024-09-11T15:06:31+00:00"
+ "time": "2024-09-30T13:16:57+00:00"
},
{
"name": "psr/container",
- "version": "1.0.0",
+ "version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
+ "reference": "9fc7aab7a78057a124384358ebae8a1711b6f6fc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/9fc7aab7a78057a124384358ebae8a1711b6f6fc",
+ "reference": "9fc7aab7a78057a124384358ebae8a1711b6f6fc",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.2.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.1.x-dev"
}
},
"autoload": {
@@ -282,7 +267,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
@@ -296,9 +281,9 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/master"
+ "source": "https://github.com/php-fig/container/tree/1.1.0"
},
- "time": "2017-02-14T16:28:37+00:00"
+ "time": "2021-03-05T15:48:30+00:00"
},
{
"name": "psr/log",
@@ -352,22 +337,22 @@
},
{
"name": "sniccowp/php-scoper-wordpress-excludes",
- "version": "6.6.0",
+ "version": "6.6.2",
"source": {
"type": "git",
"url": "https://github.com/snicco/php-scoper-wordpress-excludes.git",
- "reference": "56cce0bed93ec18e04519de987f7bf78af5385c3"
+ "reference": "b87d7455bdf05c25f9a688fc3862bb3f2b7c8b15"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/snicco/php-scoper-wordpress-excludes/zipball/56cce0bed93ec18e04519de987f7bf78af5385c3",
- "reference": "56cce0bed93ec18e04519de987f7bf78af5385c3",
+ "url": "https://api.github.com/repos/snicco/php-scoper-wordpress-excludes/zipball/b87d7455bdf05c25f9a688fc3862bb3f2b7c8b15",
+ "reference": "b87d7455bdf05c25f9a688fc3862bb3f2b7c8b15",
"shasum": ""
},
"require-dev": {
"php": "^7.4",
"php-stubs/wordpress-globals": "0.2.0",
- "php-stubs/wordpress-stubs": "6.6.0",
+ "php-stubs/wordpress-stubs": "6.6.2",
"sniccowp/php-scoper-excludes": "dev-master"
},
"type": "library",
@@ -393,9 +378,9 @@
],
"support": {
"issues": "https://github.com/snicco/php-scoper-wordpress-excludes/issues",
- "source": "https://github.com/snicco/php-scoper-wordpress-excludes/tree/6.6.0"
+ "source": "https://github.com/snicco/php-scoper-wordpress-excludes/tree/6.6.2"
},
- "time": "2024-08-24T00:01:07+00:00"
+ "time": "2024-10-01T00:32:14+00:00"
}
],
"packages-dev": [
@@ -561,20 +546,20 @@
},
{
"name": "antecedent/patchwork",
- "version": "2.1.28",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/antecedent/patchwork.git",
- "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d"
+ "reference": "b07d4fb37c3c723c8755122160c089e077d5de65"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/antecedent/patchwork/zipball/6b30aff81ebadf0f2feb9268d3e08385cebcc08d",
- "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d",
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/b07d4fb37c3c723c8755122160c089e077d5de65",
+ "reference": "b07d4fb37c3c723c8755122160c089e077d5de65",
"shasum": ""
},
"require": {
- "php": ">=5.4.0"
+ "php": ">=7.1.0"
},
"require-dev": {
"phpunit/phpunit": ">=4"
@@ -603,9 +588,9 @@
],
"support": {
"issues": "https://github.com/antecedent/patchwork/issues",
- "source": "https://github.com/antecedent/patchwork/tree/2.1.28"
+ "source": "https://github.com/antecedent/patchwork/tree/2.2.0"
},
- "time": "2024-02-06T09:26:11+00:00"
+ "time": "2024-09-27T16:59:55+00:00"
},
{
"name": "automattic/phpcs-neutron-standard",
@@ -1887,16 +1872,16 @@
},
{
"name": "nikic/php-parser",
- "version": "v4.19.2",
+ "version": "v4.19.4",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "0ed4c8949a32986043e977dbe14776c14d644c45"
+ "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ed4c8949a32986043e977dbe14776c14d644c45",
- "reference": "0ed4c8949a32986043e977dbe14776c14d644c45",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/715f4d25e225bc47b293a8b997fe6ce99bf987d2",
+ "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2",
"shasum": ""
},
"require": {
@@ -1905,7 +1890,7 @@
},
"require-dev": {
"ircmaxell/php-yacc": "^0.0.7",
- "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
},
"bin": [
"bin/php-parse"
@@ -1937,9 +1922,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.2"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.4"
},
- "time": "2024-09-17T19:36:00+00:00"
+ "time": "2024-09-29T15:01:53+00:00"
},
{
"name": "openlss/lib-array2xml",
@@ -2442,16 +2427,16 @@
},
{
"name": "phpstan/phpdoc-parser",
- "version": "1.32.0",
+ "version": "1.33.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4"
+ "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6ca22b154efdd9e3c68c56f5d94670920a1c19a4",
- "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140",
+ "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140",
"shasum": ""
},
"require": {
@@ -2483,9 +2468,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.32.0"
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0"
},
- "time": "2024-09-26T07:23:32+00:00"
+ "time": "2024-10-13T11:25:22+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -4417,21 +4402,25 @@
},
{
"name": "symfony/service-contracts",
- "version": "v2.2.0",
+ "version": "v2.5.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1"
+ "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1",
- "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a2329596ddc8fd568900e3fc76cba42489ecc7f3",
+ "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
- "psr/container": "^1.0"
+ "psr/container": "^1.1",
+ "symfony/deprecation-contracts": "^2.1|^3"
+ },
+ "conflict": {
+ "ext-psr": "<1.1|>=2"
},
"suggest": {
"symfony/service-implementation": ""
@@ -4439,7 +4428,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -4476,7 +4465,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/master"
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.3"
},
"funding": [
{
@@ -4492,7 +4481,7 @@
"type": "tidelift"
}
],
- "time": "2020-09-07T11:33:47+00:00"
+ "time": "2023-04-21T15:04:16+00:00"
},
{
"name": "symfony/string",
diff --git a/pluginEnvironmentChecker/Constraints/PluginConstraint.php b/pluginEnvironmentChecker/Constraints/PluginConstraint.php
index ac1b3ae1..46b33f47 100644
--- a/pluginEnvironmentChecker/Constraints/PluginConstraint.php
+++ b/pluginEnvironmentChecker/Constraints/PluginConstraint.php
@@ -57,7 +57,7 @@ public function check()
if (!function_exists('get_plugin_data')) {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
}
- $pluginData = get_plugin_data($pathToPluginFile);
+ $pluginData = get_plugin_data($pathToPluginFile, false);
$currentVersion = $pluginData['Version'];
$this->message = "The {$this->pluginDisplayName} plugin has to be version "
. $this->requiredVersion