stages: [lint] phpcs: stage: lint image: php:8.2-cli before_script: - apt-get update && apt-get install -y git unzip - php -r "copy('https://getcomposer.org/installer','composer-setup.php');" - php composer-setup.php --install-dir=/usr/local/bin --filename=composer - composer install --no-interaction --no-progress script: - vendor/bin/phpcs -i - vendor/bin/phpcs --standard=phpcs.xml.dist -p -s .