File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed
Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,16 @@ jobs:
1010 fail-fast : true
1111 matrix :
1212 php : [8.1, 8.2]
13- laravel : [10.*]
13+ laravel : [10.*, 11.* ]
1414 dependency-version : [prefer-lowest, prefer-stable]
15+ exclude :
16+ - php : 8.1
17+ laravel : 11.*
1518 include :
1619 - laravel : 10.*
1720 testbench : 8.*
21+ - laravel : 11.*
22+ testbench : 9.*
1823
1924 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2025
Original file line number Diff line number Diff line change 1717 ],
1818 "require" : {
1919 "php" : " ^8.1" ,
20- "illuminate/console" : " ^10.0" ,
21- "illuminate/support" : " ^10.0"
20+ "illuminate/console" : " ^10.0|^11.0 " ,
21+ "illuminate/support" : " ^10.0|^11.0 "
2222 },
2323 "require-dev" : {
2424 "mockery/mockery" : " ^1.4" ,
25- "orchestra/testbench" : " ^8.0" ,
26- "phpunit/phpunit" : " ^9.3.3 " ,
25+ "orchestra/testbench" : " ^8.0|^9.0 " ,
26+ "phpunit/phpunit" : " ^10.5 " ,
2727 "squizlabs/php_codesniffer" : " ^3.6"
2828 },
2929 "autoload" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit bootstrap = " vendor/autoload.php "
3- backupGlobals = " false "
4- backupStaticAttributes = " false "
2+ <phpunit xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
3+ xsi : noNamespaceSchemaLocation = " vendor/phpunit/phpunit/phpunit.xsd "
4+ bootstrap = " vendor/autoload.php "
55 colors =" true"
6- verbose =" true"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
10- processIsolation =" false"
11- stopOnFailure =" false" >
6+ >
127 <testsuites >
138 <testsuite name =" Test Suite" >
149 <directory >tests</directory >
1510 </testsuite >
1611 </testsuites >
17- <filter >
18- <whitelist >
12+ <source >
13+ <include >
1914 <directory suffix =" .php" >src/</directory >
20- </whitelist >
21- </filter >
15+ </include >
16+ </source >
2217</phpunit >
Original file line number Diff line number Diff line change 77use Mockery as m ;
88use Symfony \Component \Process \ExecutableFinder ;
99
10- class DbUpgradeCommandTest extends UnitTest
10+ class DbUpgradeCommandTest extends TestCase
1111{
1212 /**
1313 * @var \Illuminate\Filesystem\Filesystem|\Mockery\LegacyMockInterface|\Mockery\MockInterface
Original file line number Diff line number Diff line change 33namespace Exolnet \DbUpgrade \Tests \Unit ;
44
55use Mockery ;
6- use PHPUnit \Framework \TestCase ;
6+ use PHPUnit \Framework \TestCase as BaseTestCase ;
77
8- abstract class UnitTest extends TestCase
8+ abstract class TestCase extends BaseTestCase
99{
1010 public function tearDown (): void
1111 {
You can’t perform that action at this time.
0 commit comments