Passed
Push — dependabot/composer/symfony/fi... ( 70a310 )
by
unknown
34:35 queued 29:29
created
src/Step/PagesGenerate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             call_user_func_array($this->builder->getMessageCb(), ['GENERATE', 'Generating pages']);
40 40
 
41 41
             // loads local generators
42
-            spl_autoload_register(function ($className) {
42
+            spl_autoload_register(function($className) {
43 43
                 $generatorFile = $this->config->getDestinationDir().'/generators/'.$className.'.php';
44 44
                 if (file_exists($generatorFile)) {
45 45
                     require $generatorFile;
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             });
48 48
 
49 49
             $generators = (array) $this->builder->getConfig()->get('generators');
50
-            array_walk($generators, function ($generator, $priority) use ($generatorManager) {
50
+            array_walk($generators, function($generator, $priority) use ($generatorManager) {
51 51
                 if (!class_exists($generator)) {
52 52
                     $message = sprintf('Unable to load generator "%s"', $generator);
53 53
                     call_user_func_array($this->builder->getMessageCb(), ['GENERATE_ERROR', $message]);
Please login to merge, or discard this patch.
src/Command/Command.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
      */
189 189
     public function messageCallback(OutputInterface $output): \Closure
190 190
     {
191
-        return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
191
+        return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
192 192
             if (strpos($code, '_PROGRESS') !== false) {
193 193
                 if ($output->isVerbose()) {
194 194
                     if ($itemsCount > 0) {
Please login to merge, or discard this patch.
src/Command/ShowContent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $dataDir = (string) $this->getBuilder($output)->getConfig()->get('data.dir');
48 48
 
49 49
         // formating output
50
-        $unicodeTreePrefix = function (RecursiveTreeIterator $tree) {
50
+        $unicodeTreePrefix = function(RecursiveTreeIterator $tree) {
51 51
             $prefixParts = [
52 52
                 RecursiveTreeIterator::PREFIX_LEFT         => ' ',
53 53
                 RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ',
Please login to merge, or discard this patch.