File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,16 @@ jobs:
26
26
matrix :
27
27
php : ['8.0', 8.1, 8.2]
28
28
lib :
29
- # - { laravel: ^11.0 }
29
+ - { laravel: ^11.0 }
30
30
- { laravel: ^10.0 }
31
31
- { laravel: ^9.0 }
32
32
exclude :
33
33
- { php: 8.0, lib: { laravel: ^10.0 } }
34
- # - { php: 8.0, lib: { laravel: ^11.0 } }
35
- # - { php: 8.1, lib: { laravel: ^11.0 } }
34
+ - { php: 8.0, lib: { laravel: ^11.0 } }
35
+ - { php: 8.1, lib: { laravel: ^11.0 } }
36
+ include :
37
+ - { lib: { laravel: ^9.0 }, phpstan: 1 }
38
+ - { lib: { laravel: ^10.0 }, phpstan: 1 }
36
39
37
40
steps :
38
41
- uses : actions/checkout@v3
@@ -43,11 +46,16 @@ jobs:
43
46
php-version : ${{ matrix.php }}
44
47
coverage : xdebug
45
48
49
+ - name : Remove impossible dependencies
50
+ if : ${{ matrix.phpstan != 1 }}
51
+ run : composer remove nunomaduro/larastan --dev --no-update
52
+
46
53
- name : Adjust Package Versions
47
54
run : |
48
55
composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev
49
56
50
57
- name : PHPStan
58
+ if : ${{ matrix.phpstan == 1 }}
51
59
run : composer phpstan
52
60
53
61
- run : mkdir -p build/logs
Original file line number Diff line number Diff line change 24
24
"require" : {
25
25
"php" : " ^8.0" ,
26
26
"ext-pdo" : " *" ,
27
- "illuminate/support" : " ^9.0 || ^10.0" ,
28
- "illuminate/database" : " ^9.0 || ^10.0" ,
27
+ "illuminate/support" : " ^9.0 || ^10.0 || ^11.0 " ,
28
+ "illuminate/database" : " ^9.0 || ^10.0 || ^11.0 " ,
29
29
"mpyw/unclosure" : " ^3.0" ,
30
30
"mpyw/laravel-pdo-emulation-control" : " ^2.0.2"
31
31
},
You can’t perform that action at this time.
0 commit comments