File tree Expand file tree Collapse file tree 3 files changed +56
-3
lines changed
Expand file tree Collapse file tree 3 files changed +56
-3
lines changed Original file line number Diff line number Diff line change 1010 larastan :
1111 name : " Running Larastan check"
1212 runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ laravel : ["10.*", "11.*", "12.*"]
16+ include :
17+ - laravel : " 10.*"
18+ phpstan : 1
19+ - laravel : " 11.*"
20+ phpstan : 1
21+ - laravel : " 12.*"
22+ phpstan : 2
23+
24+ name : L${{ matrix.laravel }} - PHPStan${{ matrix.phpstan }}
25+
1326 steps :
14- - uses : actions/checkout@v3
27+ - name : Checkout code
28+ uses : actions/checkout@v3
1529
1630 - name : Setup PHP
1731 uses : shivammathur/setup-php@v2
2741 key : composer-${{ hashFiles('composer.lock') }}
2842
2943 - name : Run composer install
30- run : composer install -n --prefer-dist
44+ run : |
45+ composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
46+ composer update --prefer-dist --no-interaction
3147
3248 - name : Run phpstan
33- run : ./vendor/bin/phpstan
49+ run : ./vendor/bin/phpstan --configuration=phpstan${{ matrix.phpstan }}.neon
Original file line number Diff line number Diff line change 1+ includes :
2+ - ./vendor/larastan/larastan/extension.neon
3+
4+ parameters :
5+
6+ paths :
7+ - src
8+
9+ level : max
10+
11+ ignoreErrors :
12+ - ' #Parameter \ #1 \$object_or_class of function method_exists expects object\|string , mixed given\. #'
13+ - '#Trying to invoke mixed but it (.* ) not a callable\. #'
14+
15+ checkMissingIterableValueType : false
16+
17+ reportUnmatchedIgnoredErrors : false
18+
19+ checkOctaneCompatibility : true
Original file line number Diff line number Diff line change 1+ includes :
2+ - ./vendor/larastan/larastan/extension.neon
3+
4+ parameters :
5+
6+ paths :
7+ - src
8+
9+ level : max
10+
11+ ignoreErrors :
12+ - ' #Parameter \ #1 \$object_or_class of function method_exists expects object\|string , mixed given\. #'
13+ - '#Trying to invoke mixed but it (.* ) not a callable\. #'
14+ - identifier : missingType.iterableValue
15+
16+ reportUnmatchedIgnoredErrors : false
17+
18+ checkOctaneCompatibility : true
You can’t perform that action at this time.
0 commit comments