Skip to content

README: update for Composer 2.2#36

Merged
wimg merged 1 commit intomasterfrom
feature/readme-update-for-composer-2.2
Dec 30, 2021
Merged

README: update for Composer 2.2#36
wimg merged 1 commit intomasterfrom
feature/readme-update-for-composer-2.2

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Dec 29, 2021

Using the dealerdirect/phpcodesniffer-composer-installer Composer plugin is recommended to register external PHPCS standards with PHPCS.

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.

Includes removing a few redundant composer installs.

Refs:

Using the `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is recommended to register external PHPCS standards with PHPCS.

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.

Includes removing a few redundant `composer install`s.

Refs:
* https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
@wimg wimg merged commit ab5a0e6 into master Dec 30, 2021
@wimg wimg deleted the feature/readme-update-for-composer-2.2 branch December 30, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants