Passed
Push — master ( 6258cd...428df7 )
by Sebastian
05:23 queued 11s
created
src/Styles/ConsecutivePunctuationCharacterTrait.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
         if (empty($punctuationSign) || preg_match("/^\s+$/", $punctuationSign)) {
43 43
             return $subject;
44 44
         }
45
-        $pattern = '/' . preg_quote(trim($punctuationSign)) . '{2,}/';
45
+        $pattern = '/'.preg_quote(trim($punctuationSign)).'{2,}/';
46 46
         if (preg_match($pattern, $subject)) {
47 47
             return preg_replace($pattern, $punctuationSign, $subject);
48 48
         }
Please login to merge, or discard this patch.
src/Styles/DisplayTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         if (!in_array($this->display, self::$allowedValues)) {
58 58
             return $text;
59 59
         }
60
-        $divStyle = "class=\"csl-" . $this->display . "\"";
60
+        $divStyle = "class=\"csl-".$this->display."\"";
61 61
         return "<div $divStyle>$text</div>";
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
src/Styles/Css/CssRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      */
65 65
     public function __toString()
66 66
     {
67
-        $directives = "\t" . implode("\n\t", $this->directives->toArray());
68
-        return $this->selectorType . $this->selector . " {\n" . $directives . "\n}\n";
67
+        $directives = "\t".implode("\n\t", $this->directives->toArray());
68
+        return $this->selectorType.$this->selector." {\n".$directives."\n}\n";
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/Locale/Locale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         //filter by form
119 119
         if ($type !== "options") {
120 120
             /** @var Term $value */
121
-            $array = array_filter($array, function ($term) use ($form) {
121
+            $array = array_filter($array, function($term) use ($form) {
122 122
                 return $term->form === $form;
123 123
             });
124 124
         }
Please login to merge, or discard this patch.
src/Constraint/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
     {
34 34
         $className = "";
35 35
         $parts = explode("-", $name);
36
-        array_walk($parts, function ($part) use (&$className) {
36
+        array_walk($parts, function($part) use (&$className) {
37 37
             $className .= ucfirst($part);
38 38
         });
39
-        $className = self::NAMESPACE_CONSTRAINTS . $className;
39
+        $className = self::NAMESPACE_CONSTRAINTS.$className;
40 40
 
41 41
         if (!class_exists($className)) {
42 42
             throw new ClassNotFoundException($className);
Please login to merge, or discard this patch.