PHP Classes

File: vendor/hamcrest/hamcrest-php/tests/bootstrap.php

Recommend this page to a friend!
  Classes of Renato Lucena   PHP Pokemon Script   vendor/hamcrest/hamcrest-php/tests/bootstrap.php   Download  
File: vendor/hamcrest/hamcrest-php/tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 6 years ago
Size: 462 bytes
 

Contents

Class file image Download
<?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';