Skip to content

Commit 851664d

Browse files
sejasclaude
andcommitted
Upgrade wp-cli-tests to v5 to fix PHPCS dependency conflict
phpcompatibility/php-compatibility dev-develop moved to squizlabs/php_codesniffer ^4.0.1, which conflicts with wp-coding-standards/wpcs ^3 requiring ^3.x. Upgrading wp-cli-tests to ^5.0 resolves this by aligning all PHPCS-related dependencies. The explicit phpcompatibility/php-compatibility requirement is removed since wp-cli-tests v5 pulls it in transitively as ^10.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fcc0898 commit 851664d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎composer.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
"wp-cli/wp-cli": "^2.5"
2929
},
3030
"require-dev": {
31-
"wp-cli/wp-cli-tests": "^4.3.2",
32-
"phpcompatibility/php-compatibility": "dev-develop"
31+
"wp-cli/wp-cli-tests": "^5.0"
3332
},
33+
"minimum-stability": "dev",
34+
"prefer-stable": true,
3435
"scripts": {
3536
"behat": "run-behat-tests",
3637
"behat-rerun": "rerun-behat-tests",

0 commit comments

Comments
 (0)