1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add security to support options (#11271)

This support option allows projects to specify a URL to the project's
vulnerability disclosure policy (VDP).
This commit is contained in:
Ben Ramsey 2023-03-10 15:28:10 -06:00 committed by GitHub
parent d1ab1255b5
commit cd137ee29b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 6 deletions

View file

@ -74,6 +74,7 @@ class ValidatingArrayLoaderTest extends TestCase
'irc' => 'irc://example.org/example',
'rss' => 'http://example.org/rss',
'chat' => 'http://example.org/chat',
'security' => 'https://example.org/security',
],
'funding' => [
[
@ -449,6 +450,7 @@ class ValidatingArrayLoaderTest extends TestCase
'issues' => 'foo:bar',
'wiki' => 'foo:bar',
'chat' => 'foo:bar',
'security' => 'foo:bar',
],
],
[
@ -457,6 +459,7 @@ class ValidatingArrayLoaderTest extends TestCase
'support.issues : invalid value (foo:bar), must be an http/https URL',
'support.wiki : invalid value (foo:bar), must be an http/https URL',
'support.chat : invalid value (foo:bar), must be an http/https URL',
'support.security : invalid value (foo:bar), must be an http/https URL',
],
],
[