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 Dec 3, 2023
1 parent 48a9d47 commit 90477c3
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 90477c3

Please sign in to comment.