hot-phpunit-runner icon indicating copy to clipboard operation
hot-phpunit-runner copied to clipboard

Update hot-phpunit-runner

Open mikedfunk opened this issue 9 years ago • 1 comments

set a relative path to the composer autoload file so this can be installed globally too.

mikedfunk avatar Aug 02 '14 22:08 mikedfunk

@mikedfunk thanks, for PR. could you implement and retest this:

foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php', __DIR__ . '/../../../autoload.php') as $file) {
    if (file_exists($file)) {
        require_once $file;
        break;
    }
}

slavahatnuke avatar Aug 08 '14 10:08 slavahatnuke