[wp-trac] [WordPress Trac] #54686: Composer: allow the PHPCS plugin
WordPress Trac
noreply at wordpress.org
Thu Dec 23 20:10:43 UTC 2021
#54686: Composer: allow the PHPCS plugin
------------------------------+-------------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: coding-standards
------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52412" 52412]:
{{{
#!CommitTicketReference repository="" revision="52412"
Build/Test Tools: Allow the PHPCS plugin in Composer configuration.
The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is
used to register external PHPCS standards with PHPCS.
As of Composer 2.2, Composer plugins need to be explicitly allowed to run.
This commit adds the necessary configuration for that to prevent Composer
asking every single time `composer install` or `composer update` is run.
Reference: [https://blog.packagist.com/composer-2-2/#more-secure-plugin-
execution Composer 2.2: More secure plugin execution].
Props jrf, johnbillion.
Fixes #54686.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54686#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list