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:
10
10
fail-fast : true
11
11
matrix :
12
12
php : [8.1, 8.2]
13
- laravel : [10.*]
13
+ laravel : [10.*, 11.* ]
14
14
dependency-version : [prefer-lowest, prefer-stable]
15
+ exclude :
16
+ - php : 8.1
17
+ laravel : 11.*
15
18
include :
16
19
- laravel : 10.*
17
20
testbench : 8.*
21
+ - laravel : 11.*
22
+ testbench : 9.*
18
23
19
24
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
20
25
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"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 "
22
22
},
23
23
"require-dev" : {
24
24
"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 " ,
27
27
"squizlabs/php_codesniffer" : " ^3.6"
28
28
},
29
29
"autoload" : {
Original file line number Diff line number Diff line change 1
1
<?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 "
5
5
colors =" true"
6
- verbose =" true"
7
- convertErrorsToExceptions =" true"
8
- convertNoticesToExceptions =" true"
9
- convertWarningsToExceptions =" true"
10
- processIsolation =" false"
11
- stopOnFailure =" false" >
6
+ >
12
7
<testsuites >
13
8
<testsuite name =" Test Suite" >
14
9
<directory >tests</directory >
15
10
</testsuite >
16
11
</testsuites >
17
- <filter >
18
- <whitelist >
12
+ <source >
13
+ <include >
19
14
<directory suffix =" .php" >src/</directory >
20
- </whitelist >
21
- </filter >
15
+ </include >
16
+ </source >
22
17
</phpunit >
Original file line number Diff line number Diff line change 7
7
use Mockery as m ;
8
8
use Symfony \Component \Process \ExecutableFinder ;
9
9
10
- class DbUpgradeCommandTest extends UnitTest
10
+ class DbUpgradeCommandTest extends TestCase
11
11
{
12
12
/**
13
13
* @var \Illuminate\Filesystem\Filesystem|\Mockery\LegacyMockInterface|\Mockery\MockInterface
Original file line number Diff line number Diff line change 3
3
namespace Exolnet \DbUpgrade \Tests \Unit ;
4
4
5
5
use Mockery ;
6
- use PHPUnit \Framework \TestCase ;
6
+ use PHPUnit \Framework \TestCase as BaseTestCase ;
7
7
8
- abstract class UnitTest extends TestCase
8
+ abstract class TestCase extends BaseTestCase
9
9
{
10
10
public function tearDown (): void
11
11
{
You can’t perform that action at this time.
0 commit comments