@@ -68,19 +68,17 @@ public function provideConstructor()
6868 public function provideURIs ()
6969 {
7070 return [
71- // $baseURL, $indexPage, $relativePath, $expectedURI, $expectedRoutePath,
72- // $expectedPath, $expectedQuery, $expectedFragment
7371 '' => [
74- 'http://example.com/ ' ,
75- 'index.php ' ,
76- '' ,
77- 'http://example.com/index.php ' ,
78- '' ,
79- '/index.php ' ,
80- '' ,
81- '' ,
82- [],
83- 0 ,
72+ 'http://example.com/ ' , // $baseURL
73+ 'index.php ' , // $indexPage
74+ '' , // $relativePath
75+ 'http://example.com/index.php ' , // $expectedURI
76+ '' , // $expectedRoutePath
77+ '/index.php ' , // $expectedPath
78+ '' , // $expectedQuery
79+ '' , // $expectedFragment
80+ [], // $expectedSegments
81+ 0 , // $expectedTotalSegments
8482 ],
8583 '/ ' => [
8684 'http://example.com/ ' ,
@@ -171,19 +169,17 @@ public function provideURIs()
171169 public function provideRelativePathWithQueryOrFragment ()
172170 {
173171 return [
174- // $baseURL, $indexPage, $relativePath, $expectedURI, $expectedRoutePath,
175- // $expectedPath, $expectedQuery, $expectedFragment
176172 'one/two?foo=1&bar=2 ' => [
177- 'http://example.com/ ' ,
178- 'index.php ' ,
179- 'one/two?foo=1&bar=2 ' ,
180- 'http://example.com/index.php/one/two?foo=1&bar=2 ' ,
181- 'one/two ' ,
182- '/index.php/one/two ' ,
183- 'foo=1&bar=2 ' ,
184- '' ,
185- ['one ' , 'two ' ],
186- 2 ,
173+ 'http://example.com/ ' , // $baseURL
174+ 'index.php ' , // $indexPage
175+ 'one/two?foo=1&bar=2 ' , // $relativePath
176+ 'http://example.com/index.php/one/two?foo=1&bar=2 ' , // $expectedURI
177+ 'one/two ' , // $expectedRoutePath
178+ '/index.php/one/two ' , // $expectedPath
179+ 'foo=1&bar=2 ' , // $expectedQuery
180+ '' , // $expectedFragment
181+ ['one ' , 'two ' ], // $expectedSegments
182+ 2 , // $expectedTotalSegments
187183 ],
188184 'one/two#sec1 ' => [
189185 'http://example.com/ ' ,
0 commit comments