Skip to content
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

Composer: allow plugins #224

Merged
merged 1 commit into from
Dec 23, 2021
Merged

Composer: allow plugins #224

merged 1 commit into from
Dec 23, 2021

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Dec 23, 2021

Context

  • Composer 2.2 compatibility

Summary

This PR can be summarized in the following changelog entry:

  • Composer 2.2 compatibility

Relevant technical choices:

The dealerdirect/phpcodesniffer-composer-installer Composer plugin is used to register external PHPCS standards with PHPCS.
The composer/installers Composer plugin is used to install the plugin in the correct directory in a WordPress context.

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.
The `composer/installers` Composer plugin is used to install the plugin in the correct directory in a WordPress context.

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 4.4 milestone Dec 23, 2021
@jrfnl jrfnl merged commit cd58f4d into trunk Dec 23, 2021
@jrfnl jrfnl deleted the JRF/composer-allow-phpcs-plugin branch December 23, 2021 23:06
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.

1 participant