Created
February 20, 2012 19:45
-
-
Save manuelpichler/1870969 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: tests/environment.php | |
=================================================================== | |
--- tests/environment.php (Revision 26) | |
+++ tests/environment.php (Arbeitskopie) | |
@@ -1,6 +1,6 @@ | |
<?php | |
-function __autoload( $classname ) | |
+spl_autoload_register( function( $classname ) | |
{ | |
static $mapping; | |
@@ -13,7 +13,7 @@ | |
{ | |
require( $mapping[$classname] ); | |
} | |
-} | |
+} ); | |
ini_set( 'include_path', | |
ini_get( 'include_path' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: tests/runner.php | |
=================================================================== | |
--- tests/runner.php (Revision 26) | |
+++ tests/runner.php (Arbeitskopie) | |
@@ -1,6 +1,7 @@ | |
#!/usr/bin/env php | |
<?php | |
+require 'PHPUnit/Autoload.php'; | |
require __DIR__ . '/runner/command.php'; | |
arbitTextUiCommand::main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment