Passed
Branch master (b1b59b)
by Hong
02:55
created
Category
src/Phossa2/Shared/Aware/TagAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     public function hasTags(array $tags)/*# : array */
114 114
     {
115 115
         $x = [];
116
-        foreach($tags as $tag) {
116
+        foreach ($tags as $tag) {
117 117
             if ($this->hasTag($tag)) {
118 118
                 $x[] = $tag;
119 119
             }
Please login to merge, or discard this patch.
src/Phossa2/Shared/Message/Formatter/HtmlFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * @var    string
32 32
      * @access protected
33 33
      */
34
-    protected $openTag  = '<span class="message">';
34
+    protected $openTag = '<span class="message">';
35 35
 
36 36
     /**
37 37
      * closing tag
Please login to merge, or discard this patch.
src/Phossa2/Shared/Message/Formatter/DefaultFormatter.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,9 +48,8 @@
 block discarded – undo
48 48
      */
49 49
     protected function stringize(array &$arguments)
50 50
     {
51
-        array_walk($arguments, function (&$value) {
52
-            $value = is_scalar($value) ? (string) $value :
53
-            substr(print_r($value, true), 0, 50);
51
+        array_walk($arguments, function(&$value) {
52
+            $value = is_scalar($value) ? (string) $value : substr(print_r($value, true), 0, 50);
54 53
         });
55 54
         return $this;
56 55
     }
Please login to merge, or discard this patch.
src/Phossa2/Shared/Message/Message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     /*
28 28
      * Class "%s" not found
29 29
      */
30
-    const MSG_CLASS_NOTFOUND    = 1606161035;
30
+    const MSG_CLASS_NOTFOUND = 1606161035;
31 31
 
32 32
     /*
33 33
      * Static class "%s" not instantiable
34 34
      */
35
-    const MSG_CLASS_STATIC      = 1606161036;
35
+    const MSG_CLASS_STATIC = 1606161036;
36 36
 
37 37
     /**
38 38
      * {@inheritDoc}
Please login to merge, or discard this patch.