File tree Expand file tree Collapse file tree 3 files changed +11
-25
lines changed Expand file tree Collapse file tree 3 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 21
21
}
22
22
],
23
23
"require" : {
24
- "php" : " ^7.2|^8.0 " ,
25
- "illuminate/support" : " ^6.5|^7.0|^8.0|^9 .0"
24
+ "php" : " ^8.2 " ,
25
+ "illuminate/support" : " ^11 .0"
26
26
},
27
27
"require-dev" : {
28
- "orchestra/testbench" : " ^4.0|^5.0|^6 .0" ,
29
- "phpunit/phpunit" : " ^8.0|^9 .0"
28
+ "orchestra/testbench" : " ^9 .0" ,
29
+ "phpunit/phpunit" : " ^11 .0"
30
30
},
31
31
"autoload" : {
32
32
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit bootstrap =" vendor/autoload.php"
3
3
backupGlobals =" false"
4
- backupStaticAttributes =" false"
5
4
colors =" true"
6
- verbose =" true"
7
- convertErrorsToExceptions =" true"
8
- convertNoticesToExceptions =" true"
9
- convertWarningsToExceptions =" true"
10
5
processIsolation =" false"
6
+ displayDetailsOnPhpunitDeprecations =" true"
11
7
stopOnFailure =" false" >
12
8
<testsuites >
13
9
<testsuite name =" Test Suite" >
14
10
<directory >tests</directory >
15
11
</testsuite >
16
12
</testsuites >
17
- <filter >
18
- <whitelist >
19
- <directory suffix =" .php" >src/</directory >
20
- </whitelist >
21
- </filter >
22
- <logging >
23
- <log type =" tap" target =" build/report.tap" />
24
- <log type =" junit" target =" build/report.junit.xml" />
25
- <log type =" coverage-html" target =" build/coverage" />
26
- <log type =" coverage-text" target =" build/coverage.txt" />
27
- <log type =" coverage-clover" target =" build/logs/clover.xml" />
28
- </logging >
13
+ <php >
14
+ <env name =" PCOV_DIRECTORY" value =" src" />
15
+ <env name =" XDEBUG_MODE" value =" coverage" />
16
+ </php >
29
17
</phpunit >
Original file line number Diff line number Diff line change 4
4
5
5
class TrailingSlashUrlGeneratorTest extends TestCase
6
6
{
7
- /** @test */
8
- public function url_ends_with_trailing_slash ()
7
+ public function test_url_ends_with_trailing_slash (): void
9
8
{
10
9
$ this ->assertStringEndsWith ('/ ' , url ('profile ' ));
11
10
}
12
11
13
- /** @test */
14
- public function url_does_not_end_with_trailing_slash_when_disabled ()
12
+ public function test_url_does_not_end_with_trailing_slash_when_disabled (): void
15
13
{
16
14
config ()->set ('laravel-trailing-slash.active ' , false );
17
15
$ this ->assertStringEndsNotWith ('/ ' , url ('profile ' ));
You can’t perform that action at this time.
0 commit comments