Skip to content

Commit 86aea69

Browse files
committed
Revert require_once to require
1 parent 206c865 commit 86aea69

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

system/Debug/Exceptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* @filesource
3636
*/
3737

38-
require_once dirname(__FILE__).'/CustomExceptions.php';
38+
require dirname(__FILE__).'/CustomExceptions.php';
3939

4040
class Exceptions
4141
{

tests/CLI/CLITest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php namespace CodeIgniter\CLI;
2+
3+
class CLITest extends \CIUnitTestCase
4+
{
5+
public function testNew()
6+
{
7+
$actual = new CLI();
8+
$this->assertInstanceOf(CLI::class, $actual);
9+
}
10+
}

tests/Debug/ExceptionsTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php namespace CodeIgniter\Debug;
2+
3+
class ExceptionsTest extends \CIUnitTestCase
4+
{
5+
public function testNew()
6+
{
7+
$actual = new Exceptions();
8+
$this->assertInstanceOf(Exceptions::class, $actual);
9+
}
10+
}

0 commit comments

Comments
 (0)