File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
php-cs-fixer :
13
+ name : PHP-cs-fixer (PHP ${{ matrix.php }})
13
14
runs-on : ubuntu-latest
14
15
timeout-minutes : 20
15
16
strategy :
16
17
matrix :
17
18
php :
18
- - ' 7.4 '
19
+ - ' 8 '
19
20
fail-fast : false
20
21
env :
21
22
PHP_CS_FIXER_FUTURE_MODE : ' 1'
@@ -34,16 +35,17 @@ jobs:
34
35
run : php-cs-fixer fix --dry-run --diff --ansi
35
36
36
37
phpstan :
37
- name : PHPStan
38
+ name : PHPStan (PHP ${{ matrix.php }})
38
39
runs-on : ubuntu-latest
39
40
timeout-minutes : 20
40
41
strategy :
41
42
matrix :
42
43
php :
43
- - ' 7.4 '
44
+ - ' 8 '
44
45
fail-fast : false
45
46
env :
46
47
APP_DEBUG : ' 1' # https://github.com/phpstan/phpstan-symfony/issues/37
48
+ SYMFONY_PHPUNIT_VERSION : ' 9.5'
47
49
steps :
48
50
- name : Checkout
49
51
uses : actions/checkout@v2
69
71
- name : Require Symfony components
70
72
run : composer require symfony/intl symfony/uid --dev --no-interaction --no-progress --ansi
71
73
- name : Install PHPUnit
72
- env :
73
- SYMFONY_PHPUNIT_VERSION : ' 9.5'
74
74
run : vendor/bin/simple-phpunit --version
75
75
- name : Cache PHPStan results
76
76
uses : actions/cache@v2
Original file line number Diff line number Diff line change @@ -93,9 +93,6 @@ parameters:
93
93
path: tests/GraphQl/Type/TypesContainerTest.php
94
94
95
95
# Expected, due to PHP 8 attributes
96
- - '#ReflectionProperty::getAttributes\(\)#'
97
- - '#ReflectionMethod::getAttributes\(\)#'
98
- - '#ReflectionClass<object>::getAttributes\(\)#'
99
96
- '#Constructor of class ApiPlatform\\Core\\Annotation\\ApiResource has an unused parameter#'
100
97
- '#Constructor of class ApiPlatform\\Core\\Annotation\\ApiProperty has an unused parameter#'
101
98
You can’t perform that action at this time.
0 commit comments