Skip to content

Commit 98c00dc

Browse files
committed
Merge pull request #9 from hasumedic/vendor_autoload
Find vendor autoloader when running from project root
2 parents 5d60881 + 66b7e18 commit 98c00dc

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)