Skip to content

Commit f9b572b

Browse files
committed
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 * composer/composer#11271 * composer/packagist#1353
1 parent 8a3a383 commit f9b572b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"support": {
2727
"issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
2828
"wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki",
29-
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer"
29+
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
30+
"security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy"
3031
},
3132
"extra": {
3233
"branch-alias": {

0 commit comments

Comments
 (0)