From 47584311e6205cda102ef75eeebd6e416bd9b872 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Sun, 4 Sep 2022 14:51:23 +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 e42adff..27a9652 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "phpcompatibility/phpcompatibility-paragonie", "description" : "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", "type" : "phpcodesniffer-standard", - "keywords" : [ "compatibility", "phpcs", "standards", "paragonie", "polyfill" ], + "keywords" : [ "compatibility", "phpcs", "standards", "static analysis", "paragonie", "polyfill" ], "homepage" : "http://phpcompatibility.com/", "license" : "LGPL-3.0-or-later", "authors" : [ {