File tree 3 files changed +11
-18
lines changed
3 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,12 @@ jobs:
13
13
fail-fast : true
14
14
matrix :
15
15
os : [ubuntu-latest]
16
- php : [8.4, 8.3, 8.2, 8.1 ]
17
- laravel : [11.*, 10.*, 9 .*]
16
+ php : [8.4, 8.3, 8.2]
17
+ laravel : [12 .*]
18
18
stability : [prefer-lowest, prefer-stable]
19
19
include :
20
- - laravel : 11.*
21
- testbench : 9.*
22
- - laravel : 10.*
23
- testbench : 8.*
24
- - laravel : 9.*
25
- testbench : 7.*
26
- exclude :
27
- - laravel : 11.*
28
- php : 8.1
20
+ - laravel : 12.*
21
+ testbench : 10.*
29
22
30
23
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
31
24
56
49
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
57
50
- name : Install dependencies
58
51
run : |
59
- composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64" " orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
52
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
60
53
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
61
54
- name : Execute tests
62
55
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 18
18
}
19
19
],
20
20
"require" : {
21
- "php" : " ^8.1 " ,
22
- "illuminate/support" : " ^9.0|^10.0|^11 .0" ,
23
- "illuminate/database" : " ^9.0|^10.0|^11 .0"
21
+ "php" : " ^8.2 " ,
22
+ "illuminate/support" : " ^12 .0" ,
23
+ "illuminate/database" : " ^12 .0"
24
24
},
25
25
"require-dev" : {
26
26
"friendsofphp/php-cs-fixer" : " ^3.5" ,
27
- "orchestra/testbench" : " ^7.0|^8.0|^9 .0" ,
28
- "phpunit/phpunit" : " ^9.0|^10 .0"
27
+ "orchestra/testbench" : " ^10 .0" ,
28
+ "phpunit/phpunit" : " ^11 .0"
29
29
},
30
30
"autoload" : {
31
31
"psr-4" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static function connection($name): Builder
21
21
public static function getSchemaBuilder (Connection $ connection ): Builder
22
22
{
23
23
$ getSchemaBuilderForGrammar = function (string $ grammarClass , string $ builderClass ) use ($ connection ): Builder {
24
- $ connection ->setSchemaGrammar ($ connection -> withTablePrefix ( new $ grammarClass () ));
24
+ $ connection ->setSchemaGrammar (new $ grammarClass ($ connection ));
25
25
26
26
return new $ builderClass ($ connection );
27
27
};
You can’t perform that action at this time.
0 commit comments