Skip to content

Commit

Permalink
Use traditional array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored and grogy committed Mar 30, 2021
1 parent b3d58c6 commit 639762f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parallel-lint
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50400) {
exit(254);
}

$autoloadLocations = [
$autoloadLocations = array(
getcwd() . '/vendor/autoload.php',
getcwd() . '/../../autoload.php',
__DIR__ . '/vendor/autoload.php',
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
__DIR__ . '/../../autoload.php',
];
);

$loaded = false;
foreach ($autoloadLocations as $autoload) {
Expand Down

0 comments on commit 639762f

Please sign in to comment.