Failed Conditions
Push — master ( 5bfd4c...003f2d )
by Jonathan
37s queued 11s
created
lib/Doctrine/Inflector/Rules/Substitutions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             $toWord = $this->substitutions[$lowerWord]->getTo()->getWord();
47 47
 
48 48
             if ($firstLetterUppercase) {
49
-                return strtoupper($toWord[0]) . substr($toWord, 1);
49
+                return strtoupper($toWord[0]).substr($toWord, 1);
50 50
             }
51 51
 
52 52
             return $toWord;
Please login to merge, or discard this patch.
lib/Doctrine/Inflector/Rules/Pattern.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         if (isset($this->pattern[0]) && $this->pattern[0] === '/') {
22 22
             $this->regex = $this->pattern;
23 23
         } else {
24
-            $this->regex = '/' . $this->pattern . '/i';
24
+            $this->regex = '/'.$this->pattern.'/i';
25 25
         }
26 26
     }
27 27
 
Please login to merge, or discard this patch.
lib/Doctrine/Inflector/Inflector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
345 345
 
346 346
             // Assume ISO-8859-1 if not UTF-8
347 347
             $characters['in'] =
348
-                  chr(128)
348
+                    chr(128)
349 349
                 . chr(131)
350 350
                 . chr(138)
351 351
                 . chr(142)
Please login to merge, or discard this patch.
lib/Doctrine/Inflector/Rules/Patterns.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
     {
21 21
         $this->patterns = $patterns;
22 22
 
23
-        $patterns = array_map(static function (Pattern $pattern) : string {
23
+        $patterns = array_map(static function(Pattern $pattern) : string {
24 24
             return $pattern->getPattern();
25 25
         }, $this->patterns);
26 26
 
27
-        $this->regex = '/^(?:' . implode('|', $patterns) . ')$/i';
27
+        $this->regex = '/^(?:'.implode('|', $patterns).')$/i';
28 28
     }
29 29
 
30 30
     public function matches(string $word) : bool
Please login to merge, or discard this patch.