<?php
require 'vendor/autoload.php';

// Replace the path to *this* PHP file with the alias because the usage summary
// relies on this.
if ($argc > 0) {
    $argv[0] = "ff";
}

$client = new \phparsenal\fastforward\Client();
try {
    $client->init();
    $client->run($argv);
} catch (\Exception $e) {
    $client->getCLI()
        ->br()
        ->error('<bold>' . $e->getMessage() . '</bold>')
        ->error($e->getTraceAsString());
}

<?php
require __DIR__ . DIRECTORY_SEPARATOR . 'vendor/autoload.php';

// Replace the path to *this* PHP file with the alias because the usage summary
// relies on this.
if ($argc > 0) {
    $argv[0] = "ff";
}

$client = new \phparsenal\fastforward\Client();
try {
    $client->init();
    $client->run($argv);
} catch (\Exception $e) {
    $client->getCLI()
        ->br()
        ->error('<bold>' . $e->getMessage() . '</bold>')
        ->error($e->getTraceAsString());
}

Stop from using wrong auto loader
Stop from using wrong auto loader
