Move phpstan step back into phpunit pipeline

This commit is contained in:
Art4 2024-11-28 12:55:37 +00:00
parent d3be886dac
commit 937739cb0d
2 changed files with 8 additions and 8 deletions

View file

@ -30,14 +30,7 @@ steps:
- '.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;
codestyle:
check:
image: friendicaci/php-cs
commands:
- if [ ! -z "$${CI_COMMIT_PULL_REQUEST}" ]; then

View file

@ -55,6 +55,13 @@ steps:
- '.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: