Passed
Push — new-api ( 42b595...e6ef7d )
by Sebastian
05:57
created
src/Styles/AffixesRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,10 +61,10 @@
 block discarded – undo
61 61
                 $lastChar = mb_substr($text, -1, 1);
62 62
                 if ($closeQuote === $lastChar) { // last char is closing quote?
63 63
                     $text = mb_substr($text, 0, mb_strlen($text) - 1); //set suffix before
64
-                    return $text . $suffix . $lastChar;
64
+                    return $text.$suffix.$lastChar;
65 65
                 }
66 66
             }
67 67
         }
68
-        return $prefix . $text . $suffix;
68
+        return $prefix.$text.$suffix;
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/Styles/TextCaseRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             return $text;
38 38
         }
39 39
 
40
-        switch ((string)$this->textCase) {
40
+        switch ((string) $this->textCase) {
41 41
             case TextCase::UPPERCASE:
42 42
                 $text = $this->keepNoCase(mb_strtoupper($text), $text);
43 43
                 break;
Please login to merge, or discard this patch.
src/Util/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         if ($node instanceof StyleSheet) {
64 64
             $node = ($node)();
65 65
         }
66
-        $nodeClass = self::CITE_PROC_NODE_NAMESPACE . self::$nodes[$node->getName()];
66
+        $nodeClass = self::CITE_PROC_NODE_NAMESPACE.self::$nodes[$node->getName()];
67 67
         if (!class_exists($nodeClass)) {
68 68
             throw new InvalidStylesheetException("For node {$node->getName()} ".
69 69
                 "does not exist any counterpart class \"".$nodeClass.
Please login to merge, or discard this patch.