- Correct getChoices() docblock to reflect translated label => enum backing value order instead of value => label - Re-indent Smart Links menu config to match actual array nesting - Align assignment operators in RefreshStatsCommand - Add missing newline at end of RefreshStatsCommand.php
15 lines
375 B
PHP
15 lines
375 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
$directory = __DIR__;
|
|
for ($level = 0; $level < 6; ++$level) {
|
|
$directory = dirname($directory);
|
|
if (is_file($directory.'/vendor/autoload.php')) {
|
|
require $directory.'/vendor/autoload.php';
|
|
|
|
return;
|
|
}
|
|
}
|
|
|
|
throw new RuntimeException('Mautic vendor/autoload.php not found. Run the tests from a Mautic installation.');
|