yanepenb/project-lvl1-s482

View on GitHub
bin/brain-progression

Summary

Maintainability
Test Coverage
#!/usr/bin/env php
<?php

use function BrainGames\Games\Progression\startGameProgression;

$autoloadPath1 = __DIR__ . '/../../../autoload.php';
$autoloadPath2 = __DIR__ . '/../vendor/autoload.php';
if (file_exists($autoloadPath1)) {
    require_once $autoloadPath1;
} else {
    require_once $autoloadPath2;
}

startGameProgression();