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 26, 2023
1 parent eda4086 commit 8dbac74
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 @@ -23,7 +23,8 @@
],
"support": {
"issues": "https://github.com/PHPCSStandards/composer-installer/issues",
"source": "https://github.com/PHPCSStandards/composer-installer"
"source": "https://github.com/PHPCSStandards/composer-installer",
"security": "https://github.com/PHPCSStandards/composer-installer/security/policy"
},
"require": {
"php": ">=5.4",
Expand Down

0 comments on commit 8dbac74

Please sign in to comment.