Geen omschrijving

bootstrap.php 462B

12345678910111213141516171819
  1. <?php
  2. error_reporting(E_ALL | E_STRICT);
  3. require __DIR__ . '/../vendor/autoload.php';
  4. if (defined('E_DEPRECATED')) {
  5. error_reporting(error_reporting() | E_DEPRECATED);
  6. }
  7. define('HAMCREST_TEST_BASE', realpath(dirname(__FILE__)));
  8. define('HAMCREST_BASE', realpath(dirname(dirname(__FILE__))));
  9. set_include_path(implode(PATH_SEPARATOR, array(
  10. HAMCREST_TEST_BASE,
  11. HAMCREST_BASE . '/hamcrest',
  12. get_include_path()
  13. )));
  14. require_once 'Hamcrest.php';