Skip to content

Commit 6946a52

Browse files
committed
Fix CI: remove PHP 8.1 from test matrix and tests from PHPStan
- PHP 8.1 can't install Pest (brianium/paratest requires PHP 8.2+) - PHPStan can't properly analyze Pest tests using PHPUnit mock APIs that differ across PHPUnit versions (10 vs 12)
1 parent dfb32f1 commit 6946a52

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
php: [8.1, 8.2, '8.3', '8.4', '8.5']
14+
php: [8.2, '8.3', '8.4', '8.5']
1515
stability: [lowest, highest]
1616

1717
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} deps

phpstan.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
parameters:
22
paths:
33
- src
4-
- tests
54
level: 6
6-
ignoreErrors:
7-
-
8-
message: "#^Call to protected method createConfiguredMock\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\.$#"
9-
count: 6
10-
path: tests/ClientTest.php

0 commit comments

Comments
 (0)