steps: install-deps: image: composer:2 commands: # Install dependencies without dev-interaction, ignoring platform reqs if using a generic image - composer install --no-progress --no-interaction --prefer-dist phpcs: image: php:8.4 depends_on: - install-deps commands: # Run PHPCS using the binary installed in ./vendor/bin/ - ./vendor/bin/phpcs --standard=PSR12 src/