PHP Classes

File: vendor/swiftmailer/swiftmailer/tests/bootstrap.php

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

Contents

Class file image Download
<?php

require_once dirname(__DIR__).'/vendor/autoload.php';

// Disable garbage collector to prevent segfaults
gc_disable();

set_include_path(get_include_path().PATH_SEPARATOR.dirname(__DIR__).'/lib');

Mockery::getConfiguration()->allowMockingNonExistentMethods(true);

if (
is_file(__DIR__.'/acceptance.conf.php')) {
    require_once
__DIR__.'/acceptance.conf.php';
}
if (
is_file(__DIR__.'/smoke.conf.php')) {
    require_once
__DIR__.'/smoke.conf.php';
}
require_once
__DIR__.'/StreamCollector.php';
require_once
__DIR__.'/IdenticalBinaryConstraint.php';
require_once
__DIR__.'/SwiftMailerTestCase.php';
require_once
__DIR__.'/SwiftMailerSmokeTestCase.php';