Passed
Push — master ( a40953...6bb80a )
by Joao
01:47
created
src/Thread.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
             );
69 69
         } else {
70 70
             throw new RuntimeException(
71
-                'PHP need to be compiled with ZTS extension or compiled with the --enable-pcntl. ' .
71
+                'PHP need to be compiled with ZTS extension or compiled with the --enable-pcntl. '.
72 72
                 'Windows is not supported.'
73 73
             );
74 74
         }
Please login to merge, or discard this patch.
src/Handler/ForkHandler.php 2 patches
Switch Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,8 +194,8 @@
 block discarded – undo
194 194
     private function signalHandler($signal)
195 195
     {
196 196
         switch ($signal) {
197
-            case SIGTERM:
198
-                exit(0);
197
+        case SIGTERM:
198
+            exit(0);
199 199
         }
200 200
     }
201 201
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function execute()
68 68
     {
69
-        $this->threadKey = 'thread_' . rand(1000, 9999) . rand(1000, 9999) . rand(1000, 9999) . rand(1000, 9999);
69
+        $this->threadKey = 'thread_'.rand(1000, 9999).rand(1000, 9999).rand(1000, 9999).rand(1000, 9999);
70 70
 
71 71
         if (($this->pid = pcntl_fork()) == -1) {
72 72
             throw new RuntimeException('Couldn\'t fork the process');
Please login to merge, or discard this patch.