From 5b8303cb74c913836f3f98b5403e1c8a16a197b0 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Thu, 9 Oct 2025 03:55:44 +0000 Subject: Try letting the 'setup-php' action install PHPStan+PHPUnit in workflow. --- .github/workflows/php-code-quality.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index bbcaf8ee3..24d1aea60 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -34,7 +34,7 @@ jobs: with: php-version: '8.4' coverage: none - tools: none + tools: phpstan - name: Run PHPStan run: vendor/bin/phpstan analyze --no-progress @@ -61,7 +61,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none - tools: none + tools: phpunit - name: Run PHPUnit run: vendor/bin/phpunit --exclude integration --coverage-filter classes --coverage-filter include -- cgit v1.2.3-54-g00ecf From cb43a52644f48346ae279233c79ca73d1476af31 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Thu, 9 Oct 2025 04:05:39 +0000 Subject: Fix PHPStan+PHPUnit paths in PHP Code Quality workflow. The action installs tools to '/usr/local/bin'. --- .github/workflows/php-code-quality.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index 24d1aea60..e3ddbe7db 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -37,7 +37,7 @@ jobs: tools: phpstan - name: Run PHPStan - run: vendor/bin/phpstan analyze --no-progress + run: phpstan analyze --no-progress phpunit: name: PHPUnit @@ -64,4 +64,4 @@ jobs: tools: phpunit - name: Run PHPUnit - run: vendor/bin/phpunit --exclude integration --coverage-filter classes --coverage-filter include + run: phpunit --exclude integration --coverage-filter classes --coverage-filter include -- cgit v1.2.3-54-g00ecf From f12f41579257e29f5b1aa8f39e4ad568bf429ec2 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Thu, 9 Oct 2025 04:15:51 +0000 Subject: Tweaks for PHPStan+PHPUnit in the PHP Code Quality workflow. --- .github/workflows/php-code-quality.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index e3ddbe7db..416ecb406 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -34,7 +34,8 @@ jobs: with: php-version: '8.4' coverage: none - tools: phpstan + # PHPUnit is installed to support PHPStan checking tests/ + tools: phpstan, phpunit - name: Run PHPStan run: phpstan analyze --no-progress @@ -64,4 +65,4 @@ jobs: tools: phpunit - name: Run PHPUnit - run: phpunit --exclude integration --coverage-filter classes --coverage-filter include + run: phpunit --exclude-group integration --coverage-filter classes --coverage-filter include -- cgit v1.2.3-54-g00ecf From e1491763dccbeb4473c4c0939821c789d1e14dd1 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Thu, 9 Oct 2025 04:21:17 +0000 Subject: Tweaks for PHPStan+PHPUnit in the PHP Code Quality workflow (part 2/?). --- .github/workflows/php-code-quality.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index 416ecb406..471ebc618 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -35,7 +35,7 @@ jobs: php-version: '8.4' coverage: none # PHPUnit is installed to support PHPStan checking tests/ - tools: phpstan, phpunit + tools: phpstan/phpstan:2.1.30, phpunit/phpunit:9.5.16 - name: Run PHPStan run: phpstan analyze --no-progress @@ -62,7 +62,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none - tools: phpunit + tools: phpunit/phpunit:9.5.16 - name: Run PHPUnit - run: phpunit --exclude-group integration --coverage-filter classes --coverage-filter include + run: phpunit --exclude integration --coverage-filter classes --coverage-filter include -- cgit v1.2.3-54-g00ecf From d85cfdafb5caf550398357c02acdd21fd10738e4 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Sat, 11 Oct 2025 01:06:57 +0000 Subject: Bump PHPStan to 2.1.31 and PHPUnit to 9.5.28 (last in current 9.5.x). --- .github/workflows/php-code-quality.yml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index 471ebc618..820a62d63 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -35,7 +35,7 @@ jobs: php-version: '8.4' coverage: none # PHPUnit is installed to support PHPStan checking tests/ - tools: phpstan/phpstan:2.1.30, phpunit/phpunit:9.5.16 + tools: phpstan/phpstan:2.1.31, phpunit/phpunit:9.5.28 - name: Run PHPStan run: phpstan analyze --no-progress diff --git a/composer.json b/composer.json index 41a7c6ba0..bf12426b8 100644 --- a/composer.json +++ b/composer.json @@ -30,8 +30,8 @@ "dragonmantank/cron-expression": "^3.4" }, "require-dev": { - "phpstan/phpstan": "2.1.30", - "phpunit/phpunit": "9.5.16", + "phpstan/phpstan": "2.1.31", + "phpunit/phpunit": "9.5.28", "phpunit/php-code-coverage": "^9.2" } } -- cgit v1.2.3-54-g00ecf From 348d9ec12e203f4feea56c2a9ae1a7483a4326a7 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Sat, 11 Oct 2025 01:16:14 +0000 Subject: Try PHPUnit 9.6.29 --- .github/workflows/php-code-quality.yml | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index 820a62d63..5e1f7c2d7 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -35,7 +35,7 @@ jobs: php-version: '8.4' coverage: none # PHPUnit is installed to support PHPStan checking tests/ - tools: phpstan/phpstan:2.1.31, phpunit/phpunit:9.5.28 + tools: phpstan/phpstan:2.1.31, phpunit/phpunit:9.6.29 - name: Run PHPStan run: phpstan analyze --no-progress @@ -62,7 +62,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none - tools: phpunit/phpunit:9.5.16 + tools: phpunit/phpunit:9.6.29 - name: Run PHPUnit run: phpunit --exclude integration --coverage-filter classes --coverage-filter include diff --git a/composer.json b/composer.json index bf12426b8..d27533a35 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ }, "require-dev": { "phpstan/phpstan": "2.1.31", - "phpunit/phpunit": "9.5.28", + "phpunit/phpunit": "9.6.29", "phpunit/php-code-coverage": "^9.2" } } -- cgit v1.2.3-54-g00ecf