File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1657316573 'count' => 2,
1657416574 'path' => __DIR__ . '/tests/system/Router/RouteCollectionTest.php',
1657516575];
16576- $ignoreErrors[] = [
16577- // identifier: class.nameCase
16578- 'message' => '#^Class CodeIgniter\\\\Controller referenced with incorrect case\\: CodeIgniter\\\\controller\\.$#',
16579- 'count' => 2,
16580- 'path' => __DIR__ . '/tests/system/Router/RouteCollectionTest.php',
16581- ];
1658216576$ignoreErrors[] = [
1658316577 // identifier: missingType.return
1658416578 'message' => '#^Method CodeIgniter\\\\Router\\\\RouteCollectionTest\\:\\:getCollector\\(\\) has no return type specified\\.$#',
Original file line number Diff line number Diff line change 1414namespace CodeIgniter \Router ;
1515
1616use App \Controllers \Product ;
17- use CodeIgniter \controller ;
17+ use CodeIgniter \Controller ;
1818use CodeIgniter \Exceptions \PageNotFoundException ;
1919use CodeIgniter \HTTP \Method ;
2020use CodeIgniter \Test \CIUnitTestCase ;
@@ -246,7 +246,7 @@ public function testAddRecognizesCustomNamespaces(): void
246246 $ routes ->add ('home ' , 'controller ' );
247247
248248 $ expects = [
249- 'home ' => '\\' . controller ::class,
249+ 'home ' => '\\' . Controller ::class,
250250 ];
251251
252252 $ routes = $ routes ->getRoutes ();
You can’t perform that action at this time.
0 commit comments