Completed
Push — master ( 95ea2a...2fea48 )
by Evgenij
02:43
created
src/RequestExecutor/LibEventRequestExecutor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     protected function initializeRequest(EventCaller $eventCaller)
105 105
     {
106 106
         parent::initializeRequest($eventCaller);
107
-        $this->base        = new LeBase();
107
+        $this->base = new LeBase();
108 108
 
109 109
         $this->connectStage    = $this->stageFactory->createConnectStage($this, $eventCaller, $this->solver);
110 110
         $this->ioStage         = $this->stageFactory->createIoStage($this, $eventCaller);
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     protected function terminateRequest()
118 118
     {
119 119
         parent::terminateRequest();
120
-        $this->base        = null;
120
+        $this->base = null;
121 121
 
122 122
         $this->connectStage    = null;
123 123
         $this->ioStage         = null;
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             case LeCallbackInterface::EVENT_READ:
169 169
                 // fall down
170 170
             case LeCallbackInterface::EVENT_WRITE:
171
-                $result       = $this->ioStage->processStage([ $requestDescriptor ]);
171
+                $result       = $this->ioStage->processStage([$requestDescriptor]);
172 172
                 $doResetEvent = empty($result);
173 173
 
174 174
                 break;
Please login to merge, or discard this patch.
src/RequestExecutor/Pipeline/GuardianStage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     private function isZombieCandidate(RequestDescriptor $descriptor)
117 117
     {
118
-        $metadata  = $descriptor->getMetadata();
118
+        $metadata = $descriptor->getMetadata();
119 119
         if ($metadata[RequestExecutorInterface::META_REQUEST_COMPLETE]) {
120 120
             return false;
121 121
         }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         $event  = new DataAlertEvent(
165 165
             $this->executor,
166 166
             $socket,
167
-            $meta[ RequestExecutorInterface::META_USER_CONTEXT ],
167
+            $meta[RequestExecutorInterface::META_USER_CONTEXT],
168 168
             $attempt,
169 169
             $totalAttempts
170 170
         );
Please login to merge, or discard this patch.
src/RequestExecutor/Pipeline/ExcludedOperationsStage.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
 
47 47
         foreach ($requestDescriptors as $key => $descriptor) {
48 48
             if (in_array($descriptor, $currentOperations, true)) {
49
-                unset($requestDescriptors[ $key]);
49
+                unset($requestDescriptors[$key]);
50 50
             }
51 51
         }
52 52
 
Please login to merge, or discard this patch.