Skip to content

Commit d1485bb

Browse files
Merge branch '8.5' into 9.5
2 parents 160cb1a + e2440e7 commit d1485bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/bootstrap.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
*/
1010
const TEST_FILES_PATH = __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR;
1111

12+
if (file_exists(__DIR__ . '/../vendor/autoload.php') && file_exists(__DIR__ . '/autoload.php')) {
13+
print 'More than one test fixture autoloader is available, exiting.' . \PHP_EOL;
14+
15+
exit(1);
16+
}
17+
1218
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
1319
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
1420
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__) . '/vendor/autoload.php');

0 commit comments

Comments
 (0)