From 07f7632d644c21a1de2efe219963aa9f5a144d48 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 28 Nov 2024 12:41:40 +0000 Subject: [PATCH] move phpstan check into code_standards_check pipeline --- .woodpecker/.code_standards_check.yml | 7 +++++++ .woodpecker/.phpunit.yml | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.woodpecker/.code_standards_check.yml b/.woodpecker/.code_standards_check.yml index 30938f15fe..7bfddf05a2 100644 --- a/.woodpecker/.code_standards_check.yml +++ b/.woodpecker/.code_standards_check.yml @@ -30,6 +30,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; check: image: friendicaci/php-cs commands: diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index c3860e6f91..63309d0928 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -55,13 +55,6 @@ 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: