Stemmer/tests/bootstrap.php
Протопопов Валерий 5f5c5b124b All methods are now static
- 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
2017-11-07 15:12:47 +07:00

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");
}