File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 22
22
},
23
23
"require-dev" : {
24
24
"orchestra/testbench" : " 4.*|5.*|6.*" ,
25
- "phpunit/phpunit" : " ^8.0|^9.0 "
25
+ "phpunit/phpunit" : " ^8.0"
26
26
},
27
27
"autoload" : {
28
28
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
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"
2
+ <phpunit bootstrap =" vendor/autoload.php"
5
3
backupGlobals =" false"
6
4
backupStaticAttributes =" false"
7
5
colors =" true"
8
6
verbose =" true"
9
7
processIsolation =" false"
10
8
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 >
19
9
<testsuites >
20
10
<testsuite name =" Hashed Route Test Suite" >
21
11
<directory suffix =" Test.php" >./tests/</directory >
22
12
</testsuite >
23
13
</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 >
24
22
<php >
25
23
<env name =" HASHED_ROUTE_DRIVER" value =" hashids" />
26
24
<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 ->assertMatchesRegularExpression ('/^[A-Z]*$/ ' , $ hash );
64
+ $ this ->assertRegExp ('/^[A-Z]*$/ ' , $ hash );
65
65
}
66
66
67
67
/** @test */
You can’t perform that action at this time.
0 commit comments