Completed
Pull Request — master (#94)
by mark
01:40
created
src/Printer/Xml.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
         $dom->save($this->outputPath);
88 88
 
89
-        $output->writeln('XML generated at '.$this->outputPath);
89
+        $output->writeln('XML generated at ' . $this->outputPath);
90 90
     }
91 91
 
92 92
     /**
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
         $content = str_replace(array("\r\n", "\r"), "\n", $content);
103 103
         $lines = explode("\n", $content);
104 104
 
105
-        $lineContent = array_slice($lines, $line-1, 1);
105
+        $lineContent = array_slice($lines, $line - 1, 1);
106 106
         $lineContent = reset($lineContent);
107
-        $start = strpos($lineContent, $text.'');
107
+        $start = strpos($lineContent, $text . '');
108 108
 
109 109
         return [
110 110
             'snippet' => $lineContent,
Please login to merge, or discard this patch.
src/Extension/ArrayExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $parent = $node->getAttribute('parent');
20 20
 
21 21
         return (
22
-            $parent instanceof ArrayItem  &&
22
+            $parent instanceof ArrayItem &&
23 23
             false === $this->ignoreArray($parent)
24 24
           ) || $parent instanceof ArrayDimFetch;
25 25
     }
Please login to merge, or discard this patch.
src/PHPFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             ->ignoreVCS(true)
32 32
             ->append(
33 33
                 array_map(
34
-                    function (string $file) {
34
+                    function(string $file) {
35 35
                         return new SplFileInfo(realpath($file), dirname($file), $file);
36 36
                     },
37 37
                     $files
Please login to merge, or discard this patch.
src/Console/Command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
         if (false === is_array($result)) {
230 230
             return array_filter(
231 231
                 explode(',', $result),
232
-                function ($value) {
232
+                function($value) {
233 233
                     return false === empty($value);
234 234
                 }
235 235
             );
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     protected function createFinder(InputInterface $input): PHPFinder
246 246
     {
247 247
         return new PHPFinder(
248
-            $input->getArgument('directories') ?:[''],
248
+            $input->getArgument('directories') ?: [''],
249 249
             $input->getOption('exclude'),
250 250
             $input->getOption('exclude-path'),
251 251
             $input->getOption('exclude-file'),
Please login to merge, or discard this patch.