diff --git a/bin/check-syntax.sh b/bin/check-syntax.sh index 233dc5d5fbdeefc626f921e7fd877ecc308e7f14..07b6a17792092988a884ed83457f8dcd92a411dd 100755 --- a/bin/check-syntax.sh +++ b/bin/check-syntax.sh @@ -26,7 +26,6 @@ for i in `find . -path ./vendor -prune -o -path ./node_modules -prune -o -name ' do if [ -f "$i" ]; then FILE="${i%/*}/${i##*/}" - echo "Checking file $i" $PHP -r "require(dirname(dirname(__FILE__)).'/vendor/autoload.php'); use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Exception\ParseException; try { Yaml::parseFile('$FILE'); } catch(ParseException \$e) { exit(1); }" if [ $? -ne 0 ]; then echo "Syntax check failed for ${FILE}"