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:
Christophe Coevoet
2017-06-28 11:12:04 +02:00
parent 30fdab6519
commit ac72605337
@@ -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"]
}