From 5745b7ac1b7a484c105ee6402f093095e7760063 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Sun, 4 Sep 2022 14:59:28 +0100 Subject: [PATCH] Add "static analysis" and "dev" Composer keywords As per https://getcomposer.org/doc/04-schema.md#keywords by including "dev" and/or "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 https://github.com/composer/composer/pull/10960 for more info. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4079095..c4e62b6 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "phpcsstandards/phpcsdevtools", "description" : "Tools for PHP_CodeSniffer sniff developers.", "type" : "phpcodesniffer-standard", - "keywords" : [ "phpcs", "devtools", "debug", "php_codesniffer", "phpcodesniffer-standard" ], + "keywords" : [ "phpcs", "devtools", "debug", "dev", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ], "homepage": "https://phpcsstandards.github.io/PHPCSDevTools/", "license" : "LGPL-3.0-or-later", "authors" : [