Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert require_once to require #18

Merged
merged 1 commit into from
Mar 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system/Debug/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @filesource
*/

require_once dirname(__FILE__).'/CustomExceptions.php';
require dirname(__FILE__).'/CustomExceptions.php';

class Exceptions
{
Expand Down
10 changes: 10 additions & 0 deletions tests/CLI/CLITest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php namespace CodeIgniter\CLI;

class CLITest extends \CIUnitTestCase
{
public function testNew()
{
$actual = new CLI();
$this->assertInstanceOf(CLI::class, $actual);
}
}
10 changes: 10 additions & 0 deletions tests/Debug/ExceptionsTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php namespace CodeIgniter\Debug;

class ExceptionsTest extends \CIUnitTestCase
{
public function testNew()
{
$actual = new Exceptions();
$this->assertInstanceOf(Exceptions::class, $actual);
}
}