#!/usr/bin/env php
<?php

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

use Symfony\Component\Console\Application;

$application = new Application('PHP Namespace Fixer');
$application->add(new \PhpNsFixer\Commands\CheckCommand());
$application->run();
