Added Laravel project
This commit is contained in:
18
Laravel/vendor/hamcrest/hamcrest-php/tests/bootstrap.php
vendored
Normal file
18
Laravel/vendor/hamcrest/hamcrest-php/tests/bootstrap.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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';
|
Reference in New Issue
Block a user