File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ public function initialize(\Config\Autoload $config)
119119 $ this ->classmap = $ config ->classmap ;
120120 }
121121
122- //$this->addNamespace(APP_NAMESPACE, APPPATH);
123-
124122 unset($ config );
125123
126124 return $ this ;
Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ public function setUp()
2929 'CodeIgniter ' => BASEPATH ,
3030 ];
3131
32- //\var_dump($config);exit;
33-
3432 $ this ->loader = new Autoloader ();
3533 $ this ->loader ->initialize ($ config )->register ();
3634 }
@@ -51,7 +49,6 @@ public function testInitializeWithInvalidArguments()
5149 (new Autoloader ())->initialize ($ config );
5250 }
5351
54- //--------------------------------------------------------------------
5552 //--------------------------------------------------------------------
5653 // PSR4 Namespacing
5754 //--------------------------------------------------------------------
@@ -118,7 +115,6 @@ public function testMissingFile()
118115 $ this ->assertFalse ($ this ->loader ->loadClass ('\App\Missing\Classname ' ));
119116 }
120117
121- //--------------------------------------------------------------------
122118 //--------------------------------------------------------------------
123119
124120 /**
@@ -161,7 +157,7 @@ public function testAddNamespaceMultiplePathsWorks()
161157 $ this ->assertSame ($ expected , $ actual );
162158 }
163159
164- public function testAddNamespaceStingToArray ()
160+ public function testAddNamespaceStringToArray ()
165161 {
166162 $ this ->loader ->addNamespace ('App\Controllers ' , __DIR__ );
167163
You can’t perform that action at this time.
0 commit comments