Skip to content

Commit cf22f6d

Browse files
authored
Add "static analysis" Composer keyword (#2)
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 d17c5f6 commit cf22f6d

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
@@ -1,6 +1,7 @@
11
{
22
"name": "codeigniter/coding-standard",
33
"type": "library",
4+
"keywords": [ "phpcs", "static analysis" ],
45
"description": "Official Coding Standards for CodeIgniter based on PHP CS Fixer",
56
"license": "MIT",
67
"authors": [

0 commit comments

Comments
 (0)