5f5c5b124b
- Restore original mb_internal_encoding after method call - Add PHPUnit 5.0 to dev-deps - dict.php wrapped into PHPUnit data provider - Increased memory limit for tests
12 lines
315 B
PHP
12 lines
315 B
PHP
<?php
|
|
|
|
ini_set('memory_limit', '512M');
|
|
$vendorDir = __DIR__ . '/../../..';
|
|
|
|
if (file_exists($file = $vendorDir . '/autoload.php')) {
|
|
require_once $file;
|
|
} else if (file_exists($file = './vendor/autoload.php')) {
|
|
require_once $file;
|
|
} else {
|
|
throw new \RuntimeException("Not found composer autoload");
|
|
} |