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 3e8ca65 commit ab54d92
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/phpcsdevcs",
"description" : "Sane ruleset for the code in external standards for PHP_CodeSniffer.",
"type" : "phpcodesniffer-standard",
"keywords" : [ "phpcs", "php_codesniffer", "phpcodesniffer-standard" ],
"keywords" : [ "phpcs", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
"license" : "LGPL-3.0-or-later",
"authors" : [
{
Expand Down

0 comments on commit ab54d92

Please sign in to comment.