Skip to content

Commit

Permalink
Composer.json: add link to security policy
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jrfnl committed Nov 21, 2023
1 parent 8a3a383 commit f9b572b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"support": {
"issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
"wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki",
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer"
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit f9b572b

Please sign in to comment.