@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function register(Container $pimple) |
| 26 | 26 | { |
| 27 | - $pimple['app'] = function (Container $pimple) { |
|
| 27 | + $pimple['app'] = function(Container $pimple) { |
|
| 28 | 28 | return $this->app; |
| 29 | 29 | }; |
| 30 | 30 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | ->path('vendor') |
| 47 | 47 | ->files() |
| 48 | 48 | ->name('settings.default.php') |
| 49 | - ->filter(function (SplFileInfo $file) { |
|
| 49 | + ->filter(function(SplFileInfo $file) { |
|
| 50 | 50 | return (bool) preg_match('/\/app\/config\//', $file->getPathname()); |
| 51 | 51 | }); |
| 52 | 52 | |
@@ -38,7 +38,6 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param TaisiyaStyle $io |
|
| 42 | 41 | */ |
| 43 | 42 | final protected function rebuildEventsSubscribersCache(InputInterface $input, OutputInterface $output): void |
| 44 | 43 | { |
@@ -66,7 +65,6 @@ discard block |
||
| 66 | 65 | } |
| 67 | 66 | |
| 68 | 67 | /** |
| 69 | - * @param TaisiyaStyle $io |
|
| 70 | 68 | */ |
| 71 | 69 | final protected function rebuildBundlesCache(InputInterface $input, OutputInterface $output): void |
| 72 | 70 | { |
@@ -94,7 +92,6 @@ discard block |
||
| 94 | 92 | } |
| 95 | 93 | |
| 96 | 94 | /** |
| 97 | - * @param TaisiyaStyle $io |
|
| 98 | 95 | */ |
| 99 | 96 | final protected function rebuildCommandsCache(InputInterface $input, OutputInterface $output): void |
| 100 | 97 | { |
@@ -23,11 +23,11 @@ |
||
| 23 | 23 | { |
| 24 | 24 | parent::__construct($container); |
| 25 | 25 | |
| 26 | - $this->getContainer()['event_dispatcher'] = function (Container $pimple) { |
|
| 26 | + $this->getContainer()['event_dispatcher'] = function(Container $pimple) { |
|
| 27 | 27 | return new EventDispatcher(); |
| 28 | 28 | }; |
| 29 | 29 | |
| 30 | - $this->getContainer()['console.output'] = function (Container $pimple) { |
|
| 30 | + $this->getContainer()['console.output'] = function(Container $pimple) { |
|
| 31 | 31 | return new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE); |
| 32 | 32 | }; |
| 33 | 33 | |
@@ -36,8 +36,7 @@ |
||
| 36 | 36 | $rootDir = self::getRootDir($event->getComposer()); |
| 37 | 37 | |
| 38 | 38 | $app = file_exists($rootDir.'/bootstrap.php') |
| 39 | - ? require_once $rootDir.'/bootstrap.php' : |
|
| 40 | - new App(['settings' => require_once $rootDir.'/app/config/settings.php']); |
|
| 39 | + ? require_once $rootDir.'/bootstrap.php' : new App(['settings' => require_once $rootDir.'/app/config/settings.php']); |
|
| 41 | 40 | |
| 42 | 41 | /** @var EventDispatcher $dispatcher */ |
| 43 | 42 | $dispatcher = $app->getContainer()['event_dispatcher']; |