diff options
author | Remi Collet <remi@remirepo.net> | 2018-01-22 09:37:52 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-01-22 09:37:52 +0100 |
commit | ca32fba3bc98387f21efb37bf47a72789b084118 (patch) | |
tree | 19816827f69d90b1748255c7d040edf89c298115 /bootstrap-autoload.patch |
duplicate php-hamcrest
Diffstat (limited to 'bootstrap-autoload.patch')
-rw-r--r-- | bootstrap-autoload.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap-autoload.patch b/bootstrap-autoload.patch new file mode 100644 index 0000000..49cad37 --- /dev/null +++ b/bootstrap-autoload.patch @@ -0,0 +1,18 @@ +diff -up tests/bootstrap.php.rpm tests/bootstrap.php +--- tests/bootstrap.php.rpm 2015-01-05 13:27:31.069437796 +0100 ++++ tests/bootstrap.php 2015-01-05 13:27:40.291470405 +0100 +@@ -1,6 +1,7 @@ + <?php + error_reporting(E_ALL | E_STRICT); +-require __DIR__ . '/../vendor/autoload.php'; ++require __DIR__ . '/../hamcrest/Hamcrest/autoload.php'; ++require __DIR__ . '/autoload.php'; + + if (defined('E_DEPRECATED')) { + error_reporting(error_reporting() | E_DEPRECATED); +@@ -14,5 +15,3 @@ set_include_path(implode(PATH_SEPARATOR, + HAMCREST_BASE . '/hamcrest', + get_include_path() + ))); +- +-require_once 'Hamcrest.php'; |