Skip to content

Commit 9f70390

Browse files
authored
Add "static analysis" Composer keyword (#278)
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. The "phpcs" keyword is to match other coding-standards packages.
1 parent ad2b0b5 commit 9f70390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "sirbrillig/phpcs-variable-analysis",
33
"description": "A PHPCS sniff to detect problems with variables.",
44
"type": "phpcodesniffer-standard",
5+
"keywords" : [ "phpcs", "static analysis" ],
56
"license": "BSD-2-Clause",
67
"authors": [
78
{

0 commit comments

Comments
 (0)