From 441103fe7f0c0e69f6d6df75b1d0ffcb95520795 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Sun, 4 Sep 2022 15:55:18 +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. 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 2032514..2658dc6 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "codeigniter/coding-standard", "type": "library", + "keywords": [ "phpcs", "static analysis" ], "description": "Official Coding Standards for CodeIgniter based on PHP CS Fixer", "license": "MIT", "authors": [