Skip to content

Commit

Permalink
Activate composer audit by default (instead of roave security advisor…
Browse files Browse the repository at this point in the history
…ies)
  • Loading branch information
veewee committed May 16, 2024
1 parent 87b8fe3 commit cc9b567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ composer recipes
composer recipes:install THE/DEPENDENCY --force -v
```

### roave/security-advisories

```bash
composer require --dev roave/security-advisories:dev-master
```
### composer audit (security-advisories)

```yaml
# grumphp.yaml
Expand Down
6 changes: 2 additions & 4 deletions grumphp-convention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
stop_on_first_failure: false
run_phpstan: false
run_psalm: false
run_security_advisories: false
run_security_advisories: true
grumhp_exec_command: kevin app php
phpstan.level: "max"
phpunit.parallel: true
Expand Down Expand Up @@ -61,9 +61,7 @@ grumphp:
phpcsfixer:
config: ".php-cs-fixer.php"
config_contains_finder: true
securitychecker_roave:
jsonfile: ./composer.json
lockfile: ./composer.lock
securitychecker_composeraudit:
run_always: true
metadata:
enabled: "%run_security_advisories%"

0 comments on commit cc9b567

Please sign in to comment.