Conversation
The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement for VIPCS. As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run. This commit adds the CLI command to set those permissions to the installation instructions. Refs: * https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
|
Is this still needed if the composer.json has got the updated configuration? |
Yes, every project needs to give permission for plugins to run on their project. It's not as if the permission given in this project propagates to consumer projects (that would negate the security measure side of things as that way a dependency could still introduce the running of a malicious plugin without a project realizing). Just to be sure, I did a test run anyway, with and without the |
|
@GaryJones Do we need to update our public docs for installation instructions as well? |
The
dealerdirect/phpcodesniffer-composer-installerComposer plugin is a non-dev requirement for VIPCS.As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run.
This commit adds the CLI command to set those permissions to the installation instructions.
Refs: