Passed
Push — main ( 2cb152...6ff26f )
by TARIQ
23:50
created
brighty/system/ThirdParty/Kint/Parser/MicrotimePlugin.php 1 patch
Spacing   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         return Parser::TRIGGER_SUCCESS;
46 46
     }
47 47
 
48
-    public function parse(&$var, Value &$o, $trigger)
48
+    public function parse(&$var, Value & $o, $trigger)
49 49
     {
50 50
         if (0 !== $o->depth) {
51 51
             return;
@@ -72,8 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
         if (null !== self::$last) {
74 74
             $last_time = self::$last[0] + (self::$last[1] / 1000000);
75
-            $lap = $time - $last_time;
76
-            ++self::$times;
75
+            $lap = $time - $last_time;++self::$times;
77 76
         } else {
78 77
             $lap = null;
79 78
             self::$start = $time;
@@ -99,7 +98,6 @@  discard block
 block discarded – undo
99 98
     {
100 99
         self::$last = null;
101 100
         self::$start = null;
102
-        self::$times = 0;
103
-        ++self::$group;
101
+        self::$times = 0;++self::$group;
104 102
     }
105 103
 }
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/ClosurePlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         return Parser::TRIGGER_SUCCESS;
45 45
     }
46 46
 
47
-    public function parse(&$var, Value &$o, $trigger)
47
+    public function parse(&$var, Value & $o, $trigger)
48 48
     {
49 49
         if (!$var instanceof Closure) {
50 50
             return;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $statics_parsed = [];
79 79
 
80 80
             foreach ($statics as $name => &$static) {
81
-                $obj = Value::blank('$'.$name);
81
+                $obj = Value::blank('$' . $name);
82 82
                 $obj->depth = $o->depth + 1;
83 83
                 $statics_parsed[$name] = $this->parser->parse($static, $obj);
84 84
                 if (null === $statics_parsed[$name]->value) {
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/MysqliPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         return Parser::TRIGGER_COMPLETE;
79 79
     }
80 80
 
81
-    public function parse(&$var, Value &$o, $trigger)
81
+    public function parse(&$var, Value & $o, $trigger)
82 82
     {
83 83
         if (!$var instanceof Mysqli) {
84 84
             return;
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
                 // We only do base Mysqli properties so we don't need to worry about complex names
179 179
                 if ($this->parser->childHasPath($o, $child)) {
180
-                    $child->access_path .= $o->access_path.'->'.$child->name;
180
+                    $child->access_path .= $o->access_path . '->' . $child->name;
181 181
                 }
182 182
 
183 183
                 $basepropvalues[] = $this->parser->parse($param, $child);
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/ArrayLimitPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         return Parser::TRIGGER_BEGIN;
63 63
     }
64 64
 
65
-    public function parse(&$var, Value &$o, $trigger)
65
+    public function parse(&$var, Value & $o, $trigger)
66 66
     {
67 67
         if (self::$limit >= self::$trigger) {
68 68
             throw new InvalidArgumentException('ArrayLimitPlugin::$limit can not be lower than ArrayLimitPlugin::$trigger');
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/TablePlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         return Parser::TRIGGER_SUCCESS;
41 41
     }
42 42
 
43
-    public function parse(&$var, Value &$o, $trigger)
43
+    public function parse(&$var, Value & $o, $trigger)
44 44
     {
45 45
         if (empty($o->value->contents)) {
46 46
             return;
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/ThrowablePlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         return Parser::TRIGGER_SUCCESS;
44 44
     }
45 45
 
46
-    public function parse(&$var, Value &$o, $trigger)
46
+    public function parse(&$var, Value & $o, $trigger)
47 47
     {
48 48
         if (!$var instanceof Exception && (!KINT_PHP70 || !$var instanceof Throwable)) {
49 49
             return;
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/ToStringPlugin.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
         return Parser::TRIGGER_SUCCESS;
47 47
     }
48 48
 
49
-    public function parse(&$var, Value &$o, $trigger)
49
+    public function parse(&$var, Value & $o, $trigger)
50 50
     {
51 51
         $reflection = new ReflectionClass($var);
52 52
         if (!$reflection->hasMethod('__toString')) {
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/SerializePlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         return Parser::TRIGGER_SUCCESS;
58 58
     }
59 59
 
60
-    public function parse(&$var, Value &$o, $trigger)
60
+    public function parse(&$var, Value & $o, $trigger)
61 61
     {
62 62
         $trimmed = \rtrim($var);
63 63
 
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
 
82 82
         $base_obj = new Value();
83 83
         $base_obj->depth = $o->depth + 1;
84
-        $base_obj->name = 'unserialize('.$o->name.')';
84
+        $base_obj->name = 'unserialize(' . $o->name . ')';
85 85
 
86 86
         if ($o->access_path) {
87
-            $base_obj->access_path = 'unserialize('.$o->access_path;
87
+            $base_obj->access_path = 'unserialize(' . $o->access_path;
88 88
             if (!KINT_PHP70 || self::$options === [true]) {
89 89
                 $base_obj->access_path .= ')';
90 90
             } elseif (self::$options === [false]) {
Please login to merge, or discard this patch.
brighty/system/ThirdParty/Kint/Parser/ProxyPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         return $this->triggers;
60 60
     }
61 61
 
62
-    public function parse(&$var, Value &$o, $trigger)
62
+    public function parse(&$var, Value & $o, $trigger)
63 63
     {
64 64
         return \call_user_func_array($this->callback, [&$var, &$o, $trigger, $this->parser]);
65 65
     }
Please login to merge, or discard this patch.