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:
parent
d1ab1255b5
commit
cd137ee29b
7 changed files with 16 additions and 6 deletions
|
@ -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',
|
||||
],
|
||||
],
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue