Commit 0a25b2f633 for woocommerce
commit 0a25b2f633d57f71d4dfd1f86922b2430e32dad5
Author: Vladimir Reznichenko <kalessil@gmail.com>
Date: Thu May 22 15:32:45 2025 +0200
[dev] Monorepo: update phpcompatibility/php-compatibility dependecy for accessing PHP 8.4 deprecation rules (#58203)
* Monorepo: use phpcompatibility/php-compatibility development version until 10.x is released.
* Monorepo: test changes.
* Monorepo: cleanup and changelog entry.
* Monorepo: cleanup and changelog entry.
diff --git a/plugins/woocommerce/bin/composer/phpcs/composer.json b/plugins/woocommerce/bin/composer/phpcs/composer.json
index ac869fa28e..5cd171ae29 100644
--- a/plugins/woocommerce/bin/composer/phpcs/composer.json
+++ b/plugins/woocommerce/bin/composer/phpcs/composer.json
@@ -1,12 +1,13 @@
{
"require-dev": {
"woocommerce/woocommerce-sniffs": "1.0.0",
+ "phpcompatibility/php-compatibility": "dev-develop#9013cd039fe5740953f9fdeebd19d901b80e26f2 as 9.3.10",
"sirbrillig/phpcs-changed": "^2.11.1",
"suin/phpcs-psr4-sniff": "^3.0"
},
"config": {
"platform": {
- "php": "7.2"
+ "php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
diff --git a/plugins/woocommerce/bin/composer/phpcs/composer.lock b/plugins/woocommerce/bin/composer/phpcs/composer.lock
index c7133c2683..ecb92631d5 100644
--- a/plugins/woocommerce/bin/composer/phpcs/composer.lock
+++ b/plugins/woocommerce/bin/composer/phpcs/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": "51e3f59e8a93e41ed5edb619543009e0",
+ "content-hash": "45a3d3dd919ff34d6b130e256623d248",
"packages": [],
"packages-dev": [
{
@@ -87,33 +87,45 @@
},
{
"name": "phpcompatibility/php-compatibility",
- "version": "9.3.5",
+ "version": "dev-develop",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
- "reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
+ "reference": "9013cd039fe5740953f9fdeebd19d901b80e26f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
- "reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9013cd039fe5740953f9fdeebd19d901b80e26f2",
+ "reference": "9013cd039fe5740953f9fdeebd19d901b80e26f2",
"shasum": ""
},
"require": {
- "php": ">=5.3",
- "squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
+ "php": ">=5.4",
+ "phpcsstandards/phpcsutils": "^1.0.12",
+ "squizlabs/php_codesniffer": "^3.10.0"
},
- "conflict": {
- "squizlabs/php_codesniffer": "2.6.2"
+ "replace": {
+ "wimg/php-compatibility": "*"
},
"require-dev": {
- "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
+ "php-parallel-lint/php-console-highlighter": "^1.0.0",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpcsstandards/phpcsdevcs": "^1.1.3",
+ "phpcsstandards/phpcsdevtools": "^1.2.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4 || ^10.1.0",
+ "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
},
"suggest": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
+ "default-branch": true,
"type": "phpcodesniffer-standard",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "9.x-dev",
+ "dev-develop": "10.x-dev"
+ }
+ },
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0-or-later"
@@ -139,13 +151,33 @@
"keywords": [
"compatibility",
"phpcs",
- "standards"
+ "standards",
+ "static analysis"
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibility/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
- "time": "2019-12-27T09:44:58+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcompatibility",
+ "type": "thanks_dev"
+ }
+ ],
+ "time": "2025-01-20T20:06:48+00:00"
},
{
"name": "phpcompatibility/phpcompatibility-paragonie",
@@ -221,21 +253,22 @@
},
{
"name": "phpcompatibility/phpcompatibility-wp",
- "version": "2.1.6",
+ "version": "2.1.7",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
- "reference": "80ccb1a7640995edf1b87a4409fa584cd5869469"
+ "reference": "5bfbbfbabb3df2b9a83e601de9153e4a7111962c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/80ccb1a7640995edf1b87a4409fa584cd5869469",
- "reference": "80ccb1a7640995edf1b87a4409fa584cd5869469",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/5bfbbfbabb3df2b9a83e601de9153e4a7111962c",
+ "reference": "5bfbbfbabb3df2b9a83e601de9153e4a7111962c",
"shasum": ""
},
"require": {
"phpcompatibility/php-compatibility": "^9.0",
- "phpcompatibility/phpcompatibility-paragonie": "^1.0"
+ "phpcompatibility/phpcompatibility-paragonie": "^1.0",
+ "squizlabs/php_codesniffer": "^3.3"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
@@ -285,9 +318,13 @@
{
"url": "https://opencollective.com/php_codesniffer",
"type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcompatibility",
+ "type": "thanks_dev"
}
],
- "time": "2025-01-16T22:34:19+00:00"
+ "time": "2025-05-12T16:38:37+00:00"
},
{
"name": "phpcsstandards/phpcsextra",
@@ -629,16 +666,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.12.2",
+ "version": "3.13.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
- "reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa"
+ "reference": "65ff2489553b83b4597e89c3b8b721487011d186"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa",
- "reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/65ff2489553b83b4597e89c3b8b721487011d186",
+ "reference": "65ff2489553b83b4597e89c3b8b721487011d186",
"shasum": ""
},
"require": {
@@ -709,7 +746,7 @@
"type": "thanks_dev"
}
],
- "time": "2025-04-13T04:10:18+00:00"
+ "time": "2025-05-11T03:36:00+00:00"
},
{
"name": "suin/phpcs-psr4-sniff",
@@ -872,15 +909,24 @@
"time": "2024-03-25T16:39:00+00:00"
}
],
- "aliases": [],
+ "aliases": [
+ {
+ "package": "phpcompatibility/php-compatibility",
+ "version": "dev-develop",
+ "alias": "9.3.5",
+ "alias_normalized": "9.3.5.0"
+ }
+ ],
"minimum-stability": "stable",
- "stability-flags": {},
+ "stability-flags": {
+ "phpcompatibility/php-compatibility": 20
+ },
"prefer-stable": false,
"prefer-lowest": false,
- "platform": {},
- "platform-dev": {},
+ "platform": [],
+ "platform-dev": [],
"platform-overrides": {
- "php": "7.2"
+ "php": "7.4"
},
"plugin-api-version": "2.6.0"
}
diff --git a/plugins/woocommerce/changelog/dev-57213-update-php-compatibility-dependecy b/plugins/woocommerce/changelog/dev-57213-update-php-compatibility-dependecy
new file mode 100644
index 0000000000..24a028ab30
--- /dev/null
+++ b/plugins/woocommerce/changelog/dev-57213-update-php-compatibility-dependecy
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Monorepo: update phpcompatibility/php-compatibility dependency version to dev-develop