File tree Expand file tree Collapse file tree 4 files changed +12
-18
lines changed
Expand file tree Collapse file tree 4 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,18 @@ jobs:
1010 matrix :
1111 os : [ ubuntu-latest ]
1212 php : [ 8.0, 8.1, 8.2 ]
13- laravel : [ 9.* ]
13+ laravel : [ 9.*, 10.* ]
1414 dependency-version : [ prefer-lowest, prefer-stable ]
1515 exclude :
1616 - laravel : 9.*
1717 php : 8.2
18+ - laravel : 10.*
19+ php : 8.0
1820 include :
1921 - laravel : 9.*
2022 testbench : 7.*
21- legacy-factories : 1.*
23+ - laravel : 10.*
24+ testbench : 8.*
2225
2326 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2427
4548 composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4649 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4750
48- - name : Install legacy factories dependency
49- run : |
50- composer require "laravel/legacy-factories:${{ matrix.legacy-factories }}" --no-interaction
51- if : matrix.legacy-factories
52-
5351 - name : Execute tests
54- run : vendor/bin/phpunit --verbose
52+ run : vendor/bin/phpunit --testdox
Original file line number Diff line number Diff line change 1- ** THIS PACKAGE IS NOT MAINTAINED ANYMORE**
2-
3- ![ cog-laravel-ownership-3] ( https://cloud.githubusercontent.com/assets/1849174/21737911/ee344682-d48e-11e6-9ace-eea37026ae6d.png )
1+ ![ cog-laravel-ownership] ( https://cloud.githubusercontent.com/assets/1849174/21737911/ee344682-d48e-11e6-9ace-eea37026ae6d.png )
42
53<p align =" center " >
64<a href =" https://travis-ci.org/cybercog/laravel-ownership " ><img src =" https://img.shields.io/travis/cybercog/laravel-ownership/master.svg?style=flat-square " alt =" Build Status " ></a >
Original file line number Diff line number Diff line change 4141 },
4242 "require" : {
4343 "php" : " ^8.0" ,
44- "illuminate/database" : " ^9.0" ,
45- "illuminate/support" : " ^9.0"
44+ "illuminate/database" : " ^9.0|^10.0 " ,
45+ "illuminate/support" : " ^9.0|^10.0 "
4646 },
4747 "require-dev" : {
48+ "laravel/legacy-factories" : " ^1.3" ,
4849 "mockery/mockery" : " ^1.0" ,
49- "orchestra/database" : " ^7.0" ,
50- "orchestra/testbench" : " ^7.0" ,
51- "phpunit/phpunit" : " ^9.0|^10.0"
50+ "orchestra/testbench" : " ^7.0|^8.0" ,
51+ "phpunit/phpunit" : " ^9.6"
5252 },
5353 "autoload" : {
5454 "psr-4" : {
Original file line number Diff line number Diff line change 1616use Cog \Tests \Laravel \Ownership \Stubs \Models \User ;
1717use Illuminate \Database \Eloquent \Relations \Relation ;
1818use Illuminate \Foundation \Application ;
19- use Orchestra \Database \ConsoleServiceProvider ;
2019use Orchestra \Testbench \TestCase as Orchestra ;
2120
2221/**
@@ -50,7 +49,6 @@ protected function getPackageProviders($app): array
5049 {
5150 return [
5251 OwnershipServiceProvider::class,
53- ConsoleServiceProvider::class,
5452 ];
5553 }
5654
You can’t perform that action at this time.
0 commit comments