@@ -33,7 +33,7 @@ |
||
33 | 33 | public function install(LoggerInterface $logger) |
34 | 34 | { |
35 | 35 | $process = new Process(explode(' ', $this->installCommand), APPLICATION_ROOT_DIR, null, null, null); |
36 | - $process->run(function ($type, $buffer) use ($logger) { |
|
36 | + $process->run(function($type, $buffer) use ($logger) { |
|
37 | 37 | $logger->info($buffer); |
38 | 38 | }); |
39 | 39 |
@@ -123,7 +123,7 @@ |
||
123 | 123 | $this->info('Run command: ' . $command); |
124 | 124 | $process = new Process(explode(' ', $command), APPLICATION_ROOT_DIR); |
125 | 125 | $process->setTimeout(null); |
126 | - $process->run(function ($type, $buffer) { |
|
126 | + $process->run(function($type, $buffer) { |
|
127 | 127 | echo $buffer; |
128 | 128 | }); |
129 | 129 |
@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | Example: |
95 | 95 | - code:npm --build-all will build the client resources for the core, the project Zed and the project Yves code |
96 | -EOM; |
|
96 | +eom; |
|
97 | 97 | $this->setHelp($help); |
98 | 98 | |
99 | 99 | $this->addOption( |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function provide(ContainerInterface $container): ContainerInterface |
35 | 35 | { |
36 | - $container->set(static::SERVICE_MESSENGER, function () { |
|
36 | + $container->set(static::SERVICE_MESSENGER, function() { |
|
37 | 37 | return $this->getFacade(); |
38 | 38 | }); |
39 | 39 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | public function provide(ContainerInterface $container): ContainerInterface |
38 | 38 | { |
39 | 39 | $container->set(static::BC_FEATURE_FLAG_TWIG_TRANSLATOR, false); |
40 | - $container->set(static::SERVICE_TRANSLATOR, function () { |
|
40 | + $container->set(static::SERVICE_TRANSLATOR, function() { |
|
41 | 41 | return $this->getFactory()->createTranslator(); |
42 | 42 | }); |
43 | 43 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | public function provide(ContainerInterface $container): ContainerInterface |
39 | 39 | { |
40 | 40 | $container->set(static::BC_FEATURE_FLAG_TWIG_TRANSLATOR, false); |
41 | - $container->set(static::SERVICE_TRANSLATOR, function () { |
|
41 | + $container->set(static::SERVICE_TRANSLATOR, function() { |
|
42 | 42 | return $this->getFactory()->getTranslatorPlugin(); |
43 | 43 | }); |
44 | 44 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | protected function getEnvironmentVariableValueByNameFunction(): TwigFunction |
47 | 47 | { |
48 | - return new TwigFunction(static::FUNCTION_NAME_GET_ENV, function (string $which) { |
|
48 | + return new TwigFunction(static::FUNCTION_NAME_GET_ENV, function(string $which) { |
|
49 | 49 | return $this->getEnvironmentVariableValueByName($which); |
50 | 50 | }); |
51 | 51 | } |
@@ -103,7 +103,7 @@ |
||
103 | 103 | ], |
104 | 104 | ])->get(static::FIELD_CMS_BLOCKS . '_' . $idTemplate . '_' . $idCmsBlockCategoryPosition)->addEventListener( |
105 | 105 | FormEvents::PRE_SUBMIT, |
106 | - function (FormEvent $event) { |
|
106 | + function(FormEvent $event) { |
|
107 | 107 | if (!$event->getData()) { |
108 | 108 | return; |
109 | 109 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function register(Application $app) |
31 | 31 | { |
32 | - $app->extend('form.extensions', function ($extensions) use ($app) { |
|
32 | + $app->extend('form.extensions', function($extensions) use ($app) { |
|
33 | 33 | $extensions[] = $this->createDoubleSubmitProtectionExtension($app); |
34 | 34 | |
35 | 35 | return $extensions; |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $finder = clone $this->finder; |
39 | 39 | $finder->in($directoryPath) |
40 | 40 | ->depth(0) |
41 | - ->filter(function (SplFileInfo $fileEntry) { |
|
41 | + ->filter(function(SplFileInfo $fileEntry) { |
|
42 | 42 | return $this->filterTransferFileEntry($fileEntry); |
43 | 43 | }); |
44 | 44 |