diff options
author | VirtualTam <virtualtam@flibidi.net> | 2019-01-18 21:35:11 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-18 21:35:13 +0100 |
commit | 8f4e9624e6b512b5377faa5504b9710809b59ce6 (patch) | |
tree | 082bdef0fe1f7fdf8f872da34e509b8962a5f49c /composer.json | |
parent | ff3b5dc5542ec150f0d9b447394364a15e9156d0 (diff) | |
download | Shaarli-8f4e9624e6b512b5377faa5504b9710809b59ce6.tar.gz Shaarli-8f4e9624e6b512b5377faa5504b9710809b59ce6.tar.zst Shaarli-8f4e9624e6b512b5377faa5504b9710809b59ce6.zip |
composer: enforce PHP security advisories
This adds roave/security-advisories to prevent installing PHP packages with
known vulnerabilities with Composer.
See:
- https://github.com/FriendsOfPHP/security-advisories
- https://github.com/Roave/SecurityAdvisories
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/composer.json b/composer.json index a52b5f78..c23b8252 100644 --- a/composer.json +++ b/composer.json | |||
@@ -26,6 +26,7 @@ | |||
26 | "gettext/gettext": "^4.4" | 26 | "gettext/gettext": "^4.4" |
27 | }, | 27 | }, |
28 | "require-dev": { | 28 | "require-dev": { |
29 | "roave/security-advisories": "dev-master", | ||
29 | "phpunit/phpcov": "*", | 30 | "phpunit/phpcov": "*", |
30 | "phpunit/phpunit": "^5.0", | 31 | "phpunit/phpunit": "^5.0", |
31 | "squizlabs/php_codesniffer": "2.*" | 32 | "squizlabs/php_codesniffer": "2.*" |