File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5+ namespace bin ;
6+
7+ use Exception ;
8+ use Nette \Bootstrap \Configurator ;
59use Symfony \Component \Console \Application ;
610
711
8- class Bootstrap
12+ class Console
913{
10- public static function boot (): Nette \ Bootstrap \ Configurator
14+ public static function boot (): Configurator
1115 {
12- $ app = new Nette \ Bootstrap \ Configurator ();
16+ $ app = new Configurator ();
1317 $ app ->setDebugMode (true );
1418 $ app ->setTempDirectory (__DIR__ . '/ ' );
1519 $ app ->addConfig (__DIR__ . '/config.neon ' );
File renamed without changes.
Original file line number Diff line number Diff line change 11#!/usr/bin/env php
22<?php
33
4- require __DIR__ . '/../Bootstrap.php ' ;
4+ use bin \Console ;
5+
6+ require __DIR__ . '/Console.php ' ;
57
68if (
79 !(is_file ($ file = __DIR__ . '/../vendor/autoload.php ' ) && include $ file ) &&
1113 exit (1 );
1214}
1315
14- exit (Bootstrap ::console ());
16+ exit (Console ::console ());
You can’t perform that action at this time.
0 commit comments