Upgrade framework
This commit is contained in:
1 parent
1648a5cd42
commit
4fcf6fffcc
10548 files changed
+693131
-466691
No files matched your search
+3
-10
@@ -1,18 +1,11 @@
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
if (defined('E_DEPRECATED')) {
|
||||
error_reporting(error_reporting() | E_DEPRECATED);
|
||||
}
|
||||
|
||||
define('HAMCREST_TEST_BASE', realpath(dirname(__FILE__)));
|
||||
define('HAMCREST_BASE', realpath(dirname(dirname(__FILE__))));
|
||||
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
HAMCREST_TEST_BASE,
|
||||
HAMCREST_BASE . '/hamcrest',
|
||||
get_include_path()
|
||||
)));
|
||||
|
||||
require_once 'Hamcrest.php';
|
||||
Hamcrest\Util::registerGlobalFunctions();
|
||||
Reference in new issue
Block a user