- '.composer'
volumes:
- /tmp/drone-cache:/tmp/cache
+ phpstan:
+ image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
+ when:
+ matrix:
+ PHP_MAJOR_VERSION: 8.2
+ commands:
+ - bin/composer.phar run phpstan;
check:
image: friendicaci/php-cs
commands:
- '.composer'
volumes:
- /tmp/drone-cache:/tmp/cache
- phpstan:
- image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
- when:
- matrix:
- PHP_MAJOR_VERSION: 8.2
- commands:
- - bin/composer.phar run phpstan;
test:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
environment: