Skip to content

Commit d0df3fc

Browse files
authored
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 79966df commit d0df3fc

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" : "phpcompatibility/phpcompatibility-wp",
33
"description" : "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.",
44
"type" : "phpcodesniffer-standard",
5-
"keywords" : [ "compatibility", "phpcs", "standards", "wordpress" ],
5+
"keywords" : [ "compatibility", "phpcs", "standards", "static analysis", "wordpress" ],
66
"homepage" : "http://phpcompatibility.com/",
77
"license" : "LGPL-3.0-or-later",
88
"authors" : [ {

0 commit comments

Comments
 (0)