File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,18 @@ jobs:
16
16
coverage : ['pcov']
17
17
code-style : ['no']
18
18
code-analysis : ['no']
19
+ code-analysis-extensions : ['no']
19
20
include :
20
21
- php-versions : ' 7.1'
21
22
coverage : ' none'
22
23
code-style : ' yes'
23
24
code-analysis : ' yes'
25
+ code-analysis-extensions : ' no'
24
26
- php-versions : ' 8.4'
25
27
coverage : ' pcov'
26
28
code-style : ' no'
27
29
code-analysis : ' yes'
30
+ code-analysis-extensions : ' yes'
28
31
steps :
29
32
- name : Checkout
30
33
uses : actions/checkout@v4
53
56
- name : Install composer dependencies
54
57
run : composer install --no-progress --prefer-dist --optimize-autoloader
55
58
59
+ - name : Extra components for phpstan v1
60
+ if : matrix.code-analysis-extensions == 'yes'
61
+ run : composer require --dev phpstan/phpstan-phpunit phpstan/phpstan-strict-rules phpstan/extension-installer
62
+
56
63
- name : Code Analysis (PHP CS-Fixer)
57
64
if : matrix.code-style == 'yes'
58
65
run : PHP_CS_FIXER_IGNORE_ENV=true php vendor/bin/php-cs-fixer fix --dry-run --diff
You can’t perform that action at this time.
0 commit comments