Escudo7/php-project-lvl2

View on GitHub
bin/gendiff

Summary

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

use function \Project\diff\cli\run;

$path1 = __DIR__ . '/../vendor/autoload.php';
$path2 = __DIR__ . '/../../../autoload.php';
if (file_exists($path1)) {
  require $path1;
} else {
  require $path2;
}

run();