Skip to content

Composer: allow the PHPCS plugin #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 25, 2021

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Dec 23, 2021

The dealerdirect/phpcodesniffer-composer-installer Composer plugin is used 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:

The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used 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
@jrfnl jrfnl added this to the 1.x Next Release milestone Dec 23, 2021
@jrfnl jrfnl requested a review from grogy December 23, 2021 01:55
@grogy
Copy link
Member

grogy commented Dec 25, 2021

Perfect, thank you :-)

@grogy grogy merged commit ab1fcf5 into master Dec 25, 2021
@jrfnl jrfnl deleted the feature/composer-allow-phpcs-plugin branch December 25, 2021 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants