From c6bfd7fae0774ec7cc3ac8940680c805ada1c3dd Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 1 Dec 2023 21:46:02 +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 fc769c8..c4459b3 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,8 @@ } ], "support" : { "issues" : "https://github.com/PHPCompatibility/PHPCompatibilityPasswordCompat/issues", - "source" : "https://github.com/PHPCompatibility/PHPCompatibilityPasswordCompat" + "source" : "https://github.com/PHPCompatibility/PHPCompatibilityPasswordCompat", + "security": "https://github.com/PHPCompatibility/PHPCompatibilityPasswordCompat/security/policy" }, "config": { "allow-plugins": {