Skip to content

Commit 1e3efe8

Browse files
GaryJonesgsherwood
authored andcommitted
Add "static analysis" Composer keyword
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.
1 parent 701cc81 commit 1e3efe8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "library",
55
"keywords": [
66
"phpcs",
7-
"standards"
7+
"standards",
8+
"static analysis"
89
],
910
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
1011
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)