Skip to content

Commit

Permalink
Add "static analysis" and "dev" Composer keywords
Browse files Browse the repository at this point in the history
As per https://getcomposer.org/doc/04-schema.md#keywords by including "dev" and/or "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 authored and jrfnl committed Sep 23, 2022
1 parent 747f7e9 commit 5745b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name" : "phpcsstandards/phpcsdevtools",
"description" : "Tools for PHP_CodeSniffer sniff developers.",
"type" : "phpcodesniffer-standard",
"keywords" : [ "phpcs", "devtools", "debug", "php_codesniffer", "phpcodesniffer-standard" ],
"keywords" : [ "phpcs", "devtools", "debug", "dev", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
"homepage": "https://phpcsstandards.github.io/PHPCSDevTools/",
"license" : "LGPL-3.0-or-later",
"authors" : [
Expand Down

0 comments on commit 5745b7a

Please sign in to comment.