Skip to content

Commit 66b7e18

Browse files
author
Alex Salguero
committed
Find vendor autoloader when running from project root
1 parent 5d60881 commit 66b7e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/phpunit-randomizer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4-
foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php') as $file) {
4+
foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
55
if (file_exists($file)) {
66
define('PHPUNIT_COMPOSER_INSTALL', $file);
77
break;

0 commit comments

Comments
 (0)