Skip to content
Permalink
Browse files

updated for new ESC (uffff)

  • Loading branch information...
dg committed Feb 28, 2019
1 parent dd7bb01 commit 2d67de16b72a87ae2ff42d2cd3c18324769a8f9d
Showing with 5 additions and 12 deletions.
  1. +5 −12 ecs
17 ecs
@@ -3,8 +3,7 @@
use Composer\XdebugHandler\XdebugHandler;
use Symfony\Component\DependencyInjection\Container;
use Symplify\EasyCodingStandard\Console\Application;
use Symplify\PackageBuilder\Console\ThrowableRenderer;
use Symplify\EasyCodingStandard\Console\EasyCodingStandardApplication;
require_once __DIR__ . '/vendor/symplify/easy-coding-standard/bin/autoload.php';
@@ -15,14 +14,8 @@ $xdebug = new XdebugHandler('ecs', '--ansi');
$xdebug->check();
unset($xdebug);
try {
/** @var Container $container */
$container = require __DIR__ . '/vendor/symplify/easy-coding-standard/bin/container.php';
/** @var Container $container */
$container = require __DIR__ . '/vendor/symplify/easy-coding-standard/bin/container.php';
/** @var Application $application */
$application = $container->get(Application::class);
exit($application->run());
} catch (Throwable $throwable) {
(new ThrowableRenderer())->render($throwable);
exit(1);
}
$application = $container->get(EasyCodingStandardApplication::class);
exit($application->run());

0 comments on commit 2d67de1

Please sign in to comment.
You can’t perform that action at this time.