Skip to content

Commit 5745b7a

Browse files
GaryJonesjrfnl
authored andcommitted
Add "static analysis" and "dev" Composer keywords
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.
1 parent 747f7e9 commit 5745b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name" : "phpcsstandards/phpcsdevtools",
33
"description" : "Tools for PHP_CodeSniffer sniff developers.",
44
"type" : "phpcodesniffer-standard",
5-
"keywords" : [ "phpcs", "devtools", "debug", "php_codesniffer", "phpcodesniffer-standard" ],
5+
"keywords" : [ "phpcs", "devtools", "debug", "dev", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
66
"homepage": "https://phpcsstandards.github.io/PHPCSDevTools/",
77
"license" : "LGPL-3.0-or-later",
88
"authors" : [

0 commit comments

Comments
 (0)