File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed 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"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
4
+ bootstrap =" vendor/autoload.php"
3
5
backupGlobals =" false"
4
6
backupStaticAttributes =" false"
5
7
colors =" true"
6
8
verbose =" true"
7
9
processIsolation =" false"
8
10
stopOnFailure =" false" >
11
+ <coverage includeUncoveredFiles =" true" processUncoveredFiles =" true" >
12
+ <include >
13
+ <directory suffix =" .php" >./src</directory >
14
+ </include >
15
+ <exclude >
16
+ <directory suffix =" .php" >./src/Exceptions/</directory >
17
+ </exclude >
18
+ </coverage >
9
19
<testsuites >
10
20
<testsuite name =" Hashed Route Test Suite" >
11
21
<directory suffix =" Test.php" >./tests/</directory >
12
22
</testsuite >
13
23
</testsuites >
14
- <filter >
15
- <whitelist addUncoveredFilesFromWhitelist =" true" processUncoveredFilesFromWhitelist =" true" >
16
- <directory suffix =" .php" >./src</directory >
17
- <exclude >
18
- <directory suffix =" .php" >./src/Exceptions/</directory >
19
- </exclude >
20
- </whitelist >
21
- </filter >
22
24
<php >
23
25
<env name =" HASHED_ROUTE_DRIVER" value =" hashids" />
24
26
<env name =" HASHIDS_SALT" value =" testSalt" />
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function it_can_configure_an_alphabet()
61
61
62
62
$ hash = $ generator ->encode (14 );
63
63
64
- $ this ->assertRegExp ('/^[A-Z]*$/ ' , $ hash );
64
+ $ this ->assertMatchesRegularExpression ('/^[A-Z]*$/ ' , $ hash );
65
65
}
66
66
67
67
/** @test */
You can’t perform that action at this time.
0 commit comments