Completed
Push — master ( 2f66fb...4eb816 )
by Greg
02:33
created
src/FormatterManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function write(OutputInterface $output, $format, $structuredOutput, FormatterOptions $options)
44 44
     {
45
-        $formatter = $this->getFormatter((string)$format);
45
+        $formatter = $this->getFormatter((string) $format);
46 46
         $structuredOutput = $this->validateAndRestructure($formatter, $structuredOutput, $options);
47 47
         $formatter->write($output, $structuredOutput, $options);
48 48
     }
Please login to merge, or discard this patch.
src/Exception/IncompatibleDataException.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
             if (is_array($data) || ($data->getName() == 'ArrayObject')) {
31 31
                 return 'an array';
32 32
             }
33
-            return 'an instance of ' . $data->getName();
33
+            return 'an instance of '.$data->getName();
34 34
         }
35 35
         if (is_string($data)) {
36 36
             return 'a string';
37 37
         }
38 38
         if (is_object($data)) {
39
-            return 'an instance of ' . get_class($data);
39
+            return 'an instance of '.get_class($data);
40 40
         }
41
-        throw new \Exception("Undescribable data error: " . var_export($data, true));
41
+        throw new \Exception("Undescribable data error: ".var_export($data, true));
42 42
     }
43 43
 
44 44
     protected static function describeAllowedTypes($allowedTypes)
Please login to merge, or discard this patch.
src/Formatters/TsvFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     protected function tsvEscape($data)
26 26
     {
27 27
         return implode("\t", array_map(
28
-            function ($item) {
28
+            function($item) {
29 29
                 return str_replace(["\t", "\n"], ['\t', '\n'], $item);
30 30
             },
31 31
             $data
Please login to merge, or discard this patch.