1 2 3 4 5 6 7 8 9 10 11 12 13
image: php:8.1.0-zts-buster cache: paths: - vendor/ before_script: - apt-get update - apt-get install -y git test: script: - bash -c '[[ $(find . -name \*.php -exec php -l {} \; | grep -v "No syntax errors") ]] && exit 2 || exit 0'