Test Setup Failed
Push — master ( 93b5d2...96bf95 )
by Martijn
04:09 queued 01:48
created
src/Vanderlee/Comprehend/Builder/AbstractRuleset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     protected static function isRuleDefined(&$rules, $names)
139 139
     {
140
-        foreach ((array)$names as $key) {
140
+        foreach ((array) $names as $key) {
141 141
             if (!isset($rules[$key])) {
142 142
                 return false;
143 143
             }
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 
149 149
     protected static function undefineRule(&$rules, $names)
150 150
     {
151
-        foreach ((array)$names as $key) {
151
+        foreach ((array) $names as $key) {
152 152
             unset($rules[$key]);
153 153
         }
154 154
     }
@@ -280,6 +280,6 @@  discard block
 block discarded – undo
280 280
             // ignore
281 281
         }
282 282
 
283
-        return (string)$this->parser;
283
+        return (string) $this->parser;
284 284
     }
285 285
 }
Please login to merge, or discard this patch.
env/library.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
     // ABNF specification
5 5
     'abnf'    => \vanderlee\comprehend\library\Rfc2234::class,
6 6
     'rfc2234' => \vanderlee\comprehend\library\Rfc2234::class,
7
-    'rfc4234' => \vanderlee\comprehend\library\Rfc2234::class,    // Obsoletes 2234, No syntax changes
8
-    'rfc5234' => \vanderlee\comprehend\library\Rfc2234::class,    // Obsoletes 4234, No syntax changes
9
-    'rfc7405' => \vanderlee\comprehend\library\Rfc7405::class,    // Updates 5234
7
+    'rfc4234' => \vanderlee\comprehend\library\Rfc2234::class, // Obsoletes 2234, No syntax changes
8
+    'rfc5234' => \vanderlee\comprehend\library\Rfc2234::class, // Obsoletes 4234, No syntax changes
9
+    'rfc7405' => \vanderlee\comprehend\library\Rfc7405::class, // Updates 5234
10 10
     // URI
11 11
     'uri'     => \vanderlee\comprehend\library\Rfc3986::class,
12
-    'rfc3986' => \vanderlee\comprehend\library\Rfc3986::class,    // Updates 1738, Obsoletes 2732, 2396, 1808
12
+    'rfc3986' => \vanderlee\comprehend\library\Rfc3986::class, // Updates 1738, Obsoletes 2732, 2396, 1808
13 13
     //'rfc6874' => Rfc3986::class,    // Updates 3986
14 14
     //'rfc7320' => Rfc3986::class,    // Updates 3986
15 15
     // IPv6
Please login to merge, or discard this patch.