# Template PHP Build # This template allows you to validate your PHP application. # The workflow allows running tests and code linting on the default branch. image: composer:2.1 pipelines: default: - parallel: - step: name: Test script: - composer require phpunit/phpunit:^9 - ./vendor/bin/phpunit ./test/phpUnitTests caches: - composer - step: name: Lint script: - composer require overtrue/phplint:8.1.x-dev - ./vendor/bin/phplint ./ --exclude=vendor caches: - composer