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 2121 }
2222 ],
2323 "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"
2626 },
2727 "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"
3030 },
3131 "autoload" : {
3232 "psr-4" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit bootstrap =" vendor/autoload.php"
33 backupGlobals =" false"
4- backupStaticAttributes =" false"
54 colors =" true"
6- verbose =" true"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
105 processIsolation =" false"
6+ displayDetailsOnPhpunitDeprecations =" true"
117 stopOnFailure =" false" >
128 <testsuites >
139 <testsuite name =" Test Suite" >
1410 <directory >tests</directory >
1511 </testsuite >
1612 </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 >
2917</phpunit >
Original file line number Diff line number Diff line change 44
55class TrailingSlashUrlGeneratorTest extends TestCase
66{
7- /** @test */
8- public function url_ends_with_trailing_slash ()
7+ public function test_url_ends_with_trailing_slash (): void
98 {
109 $ this ->assertStringEndsWith ('/ ' , url ('profile ' ));
1110 }
1211
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
1513 {
1614 config ()->set ('laravel-trailing-slash.active ' , false );
1715 $ this ->assertStringEndsNotWith ('/ ' , url ('profile ' ));
You can’t perform that action at this time.
0 commit comments