Closed GaryJones closed 2 years ago
Errant comma on the first commit, so these can be rebased/squashed on merge.
Note: (new) external standards which require
PHPCS will also get prompted whether squizlabs/php_codesniffer
was deliberately requested as require
, not require-dev
. IMO, that's fine. Maintainers of external standards can select to keep the package in require
on the command-line prompt.
Thanks for this. I did end up squashing them, hence no merged tag.
As per https://getcomposer.org/doc/04-schema.md#keywords by including "static analysis" as a keyword in the
composer.json
file, Composer 2.4.0-RC1 and later will prompt users if the package is installed withcomposer require
instead ofcomposer require --dev
. See https://github.com/composer/composer/pull/10960 for more info.