Test Failed
Pull Request — master (#26)
by Pierre
23:50
created
src/Command/CheckGherkinCodeStyle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
                 '',
116 116
                 array_filter(
117 117
                     array_map(
118
-                        function ($line) {
118
+                        function($line) {
119 119
                             if (0 === mb_strpos(ltrim($line), '#')) {
120 120
                                 return '';
121 121
                             }
Please login to merge, or discard this patch.
src/Formatter/Step.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,12 +63,12 @@  discard block
 block discarded – undo
63 63
         return implode(
64 64
             '',
65 65
             array_map(
66
-                function (ArgumentInterface $argument) {
66
+                function(ArgumentInterface $argument) {
67 67
                     if ($argument instanceof TableNode) {
68 68
                         return implode(
69 69
                             '',
70 70
                             array_map(
71
-                                function ($arguments) {
71
+                                function($arguments) {
72 72
                                     return $this->indent(self::INDENTATION * 2 + 4).trim($arguments)."\n";
73 73
                                 },
74 74
                                 explode("\n", $argument->getTableAsString())
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                             implode(
82 82
                                 '',
83 83
                                 array_map(
84
-                                    function ($arguments) {
84
+                                    function($arguments) {
85 85
                                         return rtrim($this->indent(self::INDENTATION * 2 + 2).trim($arguments))."\n";
86 86
                                     },
87 87
                                     $argument->getStrings()
Please login to merge, or discard this patch.
src/Formatter/ComposedFormatter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-        * @return iterable<string>
32
+     * @return iterable<string>
33 33
      */
34 34
     public function format(?FeatureNode $feature): iterable
35 35
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         yield "\n";
55 55
         yield "\n";
56 56
 
57
-        if($feature->hasBackground()) {
57
+        if ($feature->hasBackground()) {
58 58
             yield from $this->background->format($feature->getBackground());
59 59
             yield "\n";
60 60
         }
Please login to merge, or discard this patch.