From 91ffe7bf2f6544e3c0f66a7211fad7a062fa959c Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Sun, 4 Sep 2022 15:23: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 912d14d9..ae92a3c9 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "phpcsstandards/phpcsutils", "description" : "A suite of utility functions for use with PHP_CodeSniffer", "type" : "phpcodesniffer-standard", - "keywords" : [ "phpcs", "phpcbf", "standards", "php_codesniffer", "phpcs2", "phpcs3", "tokens", "utility", "phpcodesniffer-standard" ], + "keywords" : [ "phpcs", "phpcbf", "standards", "static analysis", "php_codesniffer", "phpcs2", "phpcs3", "tokens", "utility", "phpcodesniffer-standard" ], "license" : "LGPL-3.0-or-later", "homepage": "https://phpcsutils.com/", "authors" : [