Skip to content

Commit

Permalink
Add "static analysis" Composer keyword
Browse files Browse the repository at this point in the history
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 with `composer require` instead of `composer require --dev`. See composer/composer#10960 for more info.
  • Loading branch information
GaryJones committed Sep 4, 2022
1 parent 82daa02 commit 86f3f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -2,7 +2,7 @@
"name" : "phpcsstandards/phpcsextra",
"description" : "A collection of sniffs and standards for use with PHP_CodeSniffer.",
"type" : "phpcodesniffer-standard",
"keywords" : [ "phpcs", "phpcbf", "standards", "php_codesniffer", "phpcodesniffer-standard" ],
"keywords" : [ "phpcs", "phpcbf", "standards", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
"license" : "LGPL-3.0-or-later",
"authors" : [
{
Expand Down

0 comments on commit 86f3f4c

Please sign in to comment.