Completed
Push — master ( 4ce8fc...eb7861 )
by Kamil
04:27 queued 01:53
created
src/Util/System/SystemInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
      * Checks if process with given pid exists, returns whether operation was successful.
25 25
      *
26 26
      * @param string $pid
27
-     * @param bool $isolate
28 27
      * @return bool
29 28
      */
30 29
     public function existsPid($pid);
Please login to merge, or discard this patch.
src/Util/System/SystemUnix.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
 
38 38
         if ($this->isolator !== null)
39 39
         {
40
-            return $this->isolator->call('exec', [ $command ]);
40
+            return $this->isolator->call('exec', [$command]);
41 41
         }
42 42
         else
43 43
         {
Please login to merge, or discard this patch.
src/Util/Isolate/Isolate.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
         $this->pid = (string) $pid;
108 108
         $this->socket = $sockets[0];
109 109
 
110
-        while(($message = @fgets($this->socket)) !== false)
110
+        while (($message = @fgets($this->socket)) !== false)
111 111
         {
112 112
             $ex = null;
113 113
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,9 +117,11 @@
 block discarded – undo
117 117
                 $return = (string) call_user_func_array($data['func'], $data['params']);
118 118
             }
119 119
             catch (Error $ex)
120
-            {}
120
+            {
121
+}
121 122
             catch (Exception $ex)
122
-            {}
123
+            {
124
+}
123 125
 
124 126
             if ($ex !== null || @fwrite($this->socket, $return . "\n") === false)
125 127
             {
Please login to merge, or discard this patch.
src/Util/Support/ArraySupport.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
         $keys = explode('.', $key);
101 101
         $last = array_pop($keys);
102
-        $currentElement =& $array;
102
+        $currentElement = & $array;
103 103
 
104 104
         foreach ($keys as $currentKey)
105 105
         {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 $currentElement[$currentKey] = [];
109 109
             }
110 110
 
111
-            $currentElement =& $currentElement[$currentKey];
111
+            $currentElement = & $currentElement[$currentKey];
112 112
         }
113 113
 
114 114
         $currentElement[$last] = $value;
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
         $keys = explode('.', $key);
136 136
         $last = array_pop($keys);
137
-        $currentElement =& $array;
137
+        $currentElement = & $array;
138 138
 
139 139
         foreach ($keys as $currentKey)
140 140
         {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
                 $currentElement[$currentKey] = [];
144 144
             }
145 145
 
146
-            $currentElement =& $currentElement[$currentKey];
146
+            $currentElement = & $currentElement[$currentKey];
147 147
         }
148 148
 
149 149
         unset($currentElement[$last]);
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     {
241 241
         return ($key === null) ? null : trim(
242 242
             str_replace(
243
-                [ " ", "\t", "\n", "\r", "\0", "\x0B" ], [ '', '', '', '', '', '' ], $key
243
+                [" ", "\t", "\n", "\r", "\0", "\x0B"], ['', '', '', '', '', ''], $key
244 244
             ), '.'
245 245
         );
246 246
     }
Please login to merge, or discard this patch.
src/Util/Support/TimeSupport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
      */
12 12
     public static function now()
13 13
     {
14
-        return round(microtime(true)*1000);
14
+        return round(microtime(true) * 1000);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Util/Factory/FactoryPlugin.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,8 @@  discard block
 block discarded – undo
57 57
      * @param FactoryInterface $factory
58 58
      */
59 59
     protected function register(FactoryInterface $factory)
60
-    {}
60
+    {
61
+}
61 62
 
62 63
     /**
63 64
      * Define how plugin should be unregistered.
@@ -65,7 +66,8 @@  discard block
 block discarded – undo
65 66
      * @param FactoryInterface $factory
66 67
      */
67 68
     protected function unregister(FactoryInterface $factory)
68
-    {}
69
+    {
70
+}
69 71
 
70 72
     /**
71 73
      * @param Error|Exception $ex
Please login to merge, or discard this patch.
src/Util/Factory/SimpleFactoryPlugin.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,8 @@  discard block
 block discarded – undo
57 57
      * @param SimpleFactoryInterface $factory
58 58
      */
59 59
     protected function register(SimpleFactoryInterface $factory)
60
-    {}
60
+    {
61
+}
61 62
 
62 63
     /**
63 64
      * Define how plugin should be unregistered.
@@ -65,7 +66,8 @@  discard block
 block discarded – undo
65 66
      * @param SimpleFactoryInterface $factory
66 67
      */
67 68
     protected function unregister(SimpleFactoryInterface $factory)
68
-    {}
69
+    {
70
+}
69 71
 
70 72
     /**
71 73
      * @param Error|Exception $ex
Please login to merge, or discard this patch.
src/Util/Parser/Json/JsonParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @var int
25 25
      */
26
-    const DECODE_ARRAY  = 2;
26
+    const DECODE_ARRAY = 2;
27 27
 
28 28
     /**
29 29
      * @var int
Please login to merge, or discard this patch.
src/Util/Parser/Null/NullParser.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-namespace Dazzle\Util\Parser\Null;
3
+namespace Dazzle\Util\Parser\null;
4 4
 
5 5
 use Dazzle\Util\Parser\ParserInterface;
6 6
 
Please login to merge, or discard this patch.