Skip to content

Commit

Permalink
Install Enlightn Security Checker
Browse files Browse the repository at this point in the history
To replace the Symfony Security Checker, the Enlightn Security
Checker has been installed, which does the same checks and is
already enabled in the GrumPHP configuration.

See: phpro/grumphp#865
  • Loading branch information
Arjen Miedema authored and ashokadewit committed Aug 20, 2021
1 parent f986078 commit b71c8e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"require": {
"php": "^7.1",
"composer-plugin-api": "^1.1",
"enlightn/security-checker": "^1.5",
"kint-php/kint": "~1.0 || ~2.0 || ~3.0",
"mediact/coding-standard": "~1.0 || ~2.0",
"mediact/coding-standard-phpstorm": "~1.0 || ~2.0",
Expand All @@ -31,9 +32,9 @@
"phpro/grumphp": ">=0.19 <1.0",
"phpstan/phpstan": "~0.1",
"phpunit/phpunit": "~3.7 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0",
"sensiolabs/security-checker": "^5.0",
"symfony/event-dispatcher": "^4.0",
"symfony/dependency-injection": "^4.0"
"symfony/dependency-injection": "^4.0",
"ext-zip": "*"
},
"require-dev": {
"composer/composer": "@stable",
Expand Down
6 changes: 0 additions & 6 deletions config/default/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ parameters:
phpunit.config_file: ./phpunit.xml

securitychecker.lockfile: ./composer.lock
securitychecker.format: ~
securitychecker.end_point: ~
securitychecker.timeout: ~
securitychecker.run_always: true

grumphp:
Expand Down Expand Up @@ -90,7 +87,4 @@ grumphp:

securitychecker:
lockfile: '%securitychecker.lockfile%'
format: '%securitychecker.format%'
end_point: '%securitychecker.end_point%'
timeout: '%securitychecker.timeout%'
run_always: '%securitychecker.run_always%'

0 comments on commit b71c8e1

Please sign in to comment.