Skip to content

Commit e09a0f8

Browse files
committed
Composer: allow the PHPCS plugin
The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used by the DMS Coding Standard to register external PHPCS standards with PHPCS. As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run. This adds the necessary configuration for that. Refs: * https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
1 parent 676fe6d commit e09a0f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,10 @@
2424
"psr-4": {
2525
"DMS\\PHPUnitExtensions\\ArraySubset\\Tests\\": "tests"
2626
}
27+
},
28+
"config": {
29+
"allow-plugins": {
30+
"dealerdirect/phpcodesniffer-composer-installer": true
31+
}
2732
}
2833
}

0 commit comments

Comments
 (0)