File tree Expand file tree Collapse file tree 3 files changed +11
-18
lines changed Expand file tree Collapse file tree 3 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,12 @@ jobs:
1313 fail-fast : true
1414 matrix :
1515 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 .*]
1818 stability : [prefer-lowest, prefer-stable]
1919 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.*
2922
3023 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3124
5649 echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5750 - name : Install dependencies
5851 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
6053 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
6154 - name : Execute tests
6255 run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "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"
2424 },
2525 "require-dev" : {
2626 "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"
2929 },
3030 "autoload" : {
3131 "psr-4" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static function connection($name): Builder
2121 public static function getSchemaBuilder (Connection $ connection ): Builder
2222 {
2323 $ getSchemaBuilderForGrammar = function (string $ grammarClass , string $ builderClass ) use ($ connection ): Builder {
24- $ connection ->setSchemaGrammar ($ connection -> withTablePrefix ( new $ grammarClass () ));
24+ $ connection ->setSchemaGrammar (new $ grammarClass ($ connection ));
2525
2626 return new $ builderClass ($ connection );
2727 };
You can’t perform that action at this time.
0 commit comments