From 9f703905f61c2e75957af4daffc097f881116b0d Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Tue, 6 Sep 2022 16:43:42 +0100 Subject: [PATCH] Add "static analysis" Composer keyword (#278) 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. The "phpcs" keyword is to match other coding-standards packages. --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index ff055b3..3401184 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "sirbrillig/phpcs-variable-analysis", "description": "A PHPCS sniff to detect problems with variables.", "type": "phpcodesniffer-standard", + "keywords" : [ "phpcs", "static analysis" ], "license": "BSD-2-Clause", "authors": [ {