# Defines stages which are to be executed stages: - syntax # ### Stage syntax # syntax:lint: stage: syntax image: edbizarro/gitlab-ci-pipeline-php:7.2 allow_failure: false only: - schedules - web - merge_requests script: - composer require overtrue/phplint - echo "Syntax checking PHP files" - echo "For more information http://www.icosaedro.it/phplint/" - vendor/bin/phplint