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 23, 2023
1 parent c67c182 commit 801a181
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 @@ -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",
Expand Down

0 comments on commit 801a181

Please sign in to comment.