Skip to content

Commit

Permalink
Merge pull request #9 from DumpOfTheVar/fixes-in-bin-migrations
Browse files Browse the repository at this point in the history
Fixes in bin migrations
  • Loading branch information
gruberro authored Aug 9, 2017
2 parents 2a7ea5e + 1a23b43 commit 513f1ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/migrations
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ $autoloadPaths = [
__DIR__.'vendor/autoload.php',
__DIR__.'/../autoload.php',
__DIR__.'/../vendor/autoload.php',
__DIR__.'/../../autoload.php'
__DIR__.'/../../autoload.php',
__DIR__.'/../../../autoload.php',
];
foreach ($autoloadPaths as $autoloadPath) {
if (file_exists($autoloadPath)) {
Expand All @@ -15,7 +16,7 @@ foreach ($autoloadPaths as $autoloadPath) {
}

if (!defined('COMPOSER_AUTOLOAD_PATH')) {
fwrite(STDERR, 'Could not find composer autoloader!');
fwrite(STDERR, 'Could not find composer autoloader!' . PHP_EOL);
exit(1);
}

Expand Down

0 comments on commit 513f1ed

Please sign in to comment.