mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Support alternative bin dirs for the security checker
The auto-scripts entry now relies on the fact that Composer adds the bin-dir in the PATH instead of asking the Flex plugin to run a php-script.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"etc/": "%ETC_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"vendor/bin/security-checker security:check": "php-script"
|
||||
"security-checker security:check": "script"
|
||||
},
|
||||
"aliases": ["security-check", "security-checker", "sec-checker", "sec-check", "sec-checks"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user