From 801a18126e95f46c28807de21dc99a841452a625 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 23 Nov 2023 06:20:44 +0100 Subject: [PATCH] Composer.json: add link to security policy This is a new feature available since Composer 2.6.0, which was released a little while ago. When this key is added, it will also show a link to the security policy on Packagist. The security policy itself has been added to the organisation `.github` repository and can be accessed via the `security/policy` link on each repo. Refs: * https://github.com/composer/composer/releases/tag/2.6.0 * https://github.com/composer/composer/pull/11271 * https://github.com/composer/packagist/pull/1353 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f4bbf2b9..b59f2d8e 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ ], "support" : { "issues" : "https://github.com/PHPCSStandards/PHPCSExtra/issues", - "source" : "https://github.com/PHPCSStandards/PHPCSExtra" + "source" : "https://github.com/PHPCSStandards/PHPCSExtra", + "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy" }, "require" : { "php" : ">=5.4",