From 86f3f4cd6bec0c72a4f4cbbd868b7d37a7664f66 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Sun, 4 Sep 2022 14:55:29 +0100 Subject: [PATCH] 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 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 ad10765..76acf58 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "phpcsstandards/phpcsextra", "description" : "A collection of sniffs and standards for use with PHP_CodeSniffer.", "type" : "phpcodesniffer-standard", - "keywords" : [ "phpcs", "phpcbf", "standards", "php_codesniffer", "phpcodesniffer-standard" ], + "keywords" : [ "phpcs", "phpcbf", "standards", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ], "license" : "LGPL-3.0-or-later", "authors" : [ {