Commit 0ff92e7
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.
Also adds phpstan/extension-installer to allow-plugins, as required by wp-cli-tests v5
which added PHPStan support (matching wp-cli/wp-cli upstream config).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fcc0898 commit 0ff92e7
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
0 commit comments