Commit 72c4a36
authored
[TASK] Allow PHP 8.6 with PHPStan extension (#1648)
PHPStan has a dependency (Hoa) that triggers a deprecation warning in PHP 8.6.
PHPUnit fails tests if any warnings or notices are triggered.
This change is a temporary patch so that PHP 8.6 can be supported, until a
permanent fix in PHPStan is released, and mirrors
MyIntervals/PHP-CSS-Parser#1627.
Ref: phpstan/phpstan#151271 parent ad69f89 commit 72c4a36
1 file changed
Lines changed: 16 additions & 8 deletions
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | | - | |
51 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
0 commit comments