Skip to content

Commit 0ecbf3b

Browse files
authored
Add "static analysis" Composer keyword (#56)
* 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. The "phpcs" keyword is to match other coding-standards packages. * 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. The "phpcs" keyword is to match other coding-standards packages.
1 parent 898ce52 commit 0ecbf3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

composer-php7.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "sirbrillig/phpcs-import-detection",
33
"description": "A set of phpcs sniffs to look for unused or unimported symbols.",
44
"type": "phpcodesniffer-standard",
5+
"keywords" : [ "phpcs", "static analysis" ],
56
"license": "MIT",
67
"authors": [
78
{

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "sirbrillig/phpcs-import-detection",
33
"description": "A set of phpcs sniffs to look for unused or unimported symbols.",
44
"type": "phpcodesniffer-standard",
5+
"keywords" : [ "phpcs", "static analysis" ],
56
"license": "MIT",
67
"authors": [
78
{

0 commit comments

Comments
 (0)