Skip to content

Commit 85e89b7

Browse files
joehoyleclaude
andcommitted
Allow Composer plugins required by Composer 2.2+
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 06e53ba commit 85e89b7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
"phpcompatibility/phpcompatibility-wp": "^2.0",
2121
"phpunit/phpunit": "^9.6"
2222
},
23+
"config": {
24+
"allow-plugins": {
25+
"composer/installers": true,
26+
"dealerdirect/phpcodesniffer-composer-installer": true
27+
}
28+
},
2329
"scripts": {
2430
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs",
2531
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs"

0 commit comments

Comments
 (0)