Skip to content

Commit

Permalink
Merge pull request #54 from mediact/remove-security-checker
Browse files Browse the repository at this point in the history
Remove security checker from the testing suite.
  • Loading branch information
leonhelmus authored Feb 1, 2021
2 parents d0bbca5 + 005c90e commit cf506af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 64 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"mediact/composer-unclog-plugin": "^1.0",
"phpro/grumphp": ">=0.19 <1.0",
"phpstan/phpstan": "@stable",
"phpunit/phpunit": "@stable",
"sensiolabs/security-checker": "@stable"
"phpunit/phpunit": "@stable"
},
"require-dev": {
"composer/composer": "@stable",
Expand Down
9 changes: 1 addition & 8 deletions config/default/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,4 @@ grumphp:
triggered_by: '%phpstan.triggered_by%'

phpunit:
config_file: '%phpunit.config_file%'

securitychecker:
lockfile: '%securitychecker.lockfile%'
format: '%securitychecker.format%'
end_point: '%securitychecker.end_point%'
timeout: '%securitychecker.timeout%'
run_always: '%securitychecker.run_always%'
config_file: '%phpunit.config_file%'
55 changes: 1 addition & 54 deletions templates/files/default/grumphp.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,2 @@
imports:
- resource: 'vendor/mediact/testing-suite/config/default/grumphp.yml'

parameters:

# Default settings for testing suite tasks
composer.strict: true
composer.metadata.priority: 1400

jsonlint.detect_key_conflicts: true
jsonlint.metadata.priority: 1200

xmllint.load_from_net: true
xmllint.x_include: true
xmllint.dtd_validation: true
xmllint.scheme_validation: true
xmllint.triggered_by: [xml]
xmllint.ignore_patterns:
# Uses an incomplete definition, which conflicts when <exclude-pattern>
# is defined.
- /^phpcs.xml$/
- /^phpmd.xml$/
- /^phpunit.xml$/
xmllint.metadata.priority: 1200

yamllint.parse_constant: true
yamllint.metadata.priority: 1200

phpcs.standard: ./phpcs.xml
phpcs.triggered_by: [php]
phpcs.metadata.priority: 1000

phpmd.exclude: []
phpmd.ruleset:
- ./phpmd.xml
phpmd.triggered_by: [php]
phpmd.metadata.priority: 800

phpstan.autoload_file: ~
phpstan.configuration: ./phpstan.neon
phpstan.level: 4
phpstan.triggered_by: [php]
phpstan.metadata.priority: 600

phpunit.config_file: ./phpunit.xml
phpunit.metadata.priority: 400

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

dependency-guard.metadata.priority: 100
- resource: 'vendor/mediact/testing-suite/config/default/grumphp.yml'

0 comments on commit cf506af

Please sign in to comment.