GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — dev ( 40bda2...5b7120 )
by Андрей
04:01
created
src/Dispatcher/Dispatcher.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      *
175 175
      * @param WorkflowDispatchEventInterface $e
176 176
      *
177
-     * @return MetadataInterface|null
177
+     * @return null|\OldTown\Workflow\ZF2\Dispatch\Metadata\MetadataInterface
178 178
      */
179 179
     public function onLoadMetadataHandler(WorkflowDispatchEventInterface $e)
180 180
     {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     /**
411 411
      * Создает экземпляр класса и проверяет то что созданный объект имплементирует заданный интерфейс
412 412
      *
413
-     * @param $className
413
+     * @param string $className
414 414
      * @param $interface
415 415
      *
416 416
      * @return mixed
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $event->getMvcEvent()->setParam(static::WORKFLOW_DISPATCH_EVENT, $event);
99 99
         $event->setTarget($this);
100 100
 
101
-        $metadataResult = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::LOAD_METADATA_EVENT, $event, function ($test) {
101
+        $metadataResult = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::LOAD_METADATA_EVENT, $event, function($test) {
102 102
             return ($test instanceof MetadataInterface);
103 103
         });
104 104
         $metadata = $metadataResult->last();
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         }
134 134
 
135 135
         if (true === $flagRunWorkflow) {
136
-            $runWorkflowParamResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::METADATA_WORKFLOW_TO_RUN_EVENT, $event, function ($result) {
136
+            $runWorkflowParamResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::METADATA_WORKFLOW_TO_RUN_EVENT, $event, function($result) {
137 137
                 return ($result instanceof RunWorkflowParamInterface);
138 138
             });
139 139
             $runWorkflowParamResult = $runWorkflowParamResults->last();
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
             $event->setRunWorkflowParam($runWorkflowParamResult);
146 146
 
147 147
 
148
-            $runWorkflowResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::RUN_WORKFLOW_EVENT, $event, function ($result) {
148
+            $runWorkflowResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::RUN_WORKFLOW_EVENT, $event, function($result) {
149 149
                 return ($result instanceof TransitionResultInterface);
150 150
             });
151 151
 
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
      */
507 507
     public function setWorkflowDispatchEventClassName($workflowDispatchEventClassName)
508 508
     {
509
-        $this->workflowDispatchEventClassName = (string)$workflowDispatchEventClassName;
509
+        $this->workflowDispatchEventClassName = (string) $workflowDispatchEventClassName;
510 510
 
511 511
         return $this;
512 512
     }
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
      */
527 527
     public function setTransientVarsClassName($transientVarsClassName)
528 528
     {
529
-        $this->transientVarsClassName = (string)$transientVarsClassName;
529
+        $this->transientVarsClassName = (string) $transientVarsClassName;
530 530
 
531 531
         return $this;
532 532
     }
Please login to merge, or discard this patch.
Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
     {
115 115
 
116 116
         if (!$manager instanceof ModuleManager) {
117
-            $errMsg =sprintf('Module manager not implement %s', ModuleManager::class);
117
+            $errMsg = sprintf('Module manager not implement %s', ModuleManager::class);
118 118
             throw new Exception\ErrorInitModuleException($errMsg);
119 119
         }
120 120
         /** @var ModuleManager $manager */
Please login to merge, or discard this patch.
src/Metadata/Target/Dispatch/Metadata.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function setWorkflowDispatch($workflowDispatch)
108 108
     {
109
-        $this->workflowDispatch = (boolean)$workflowDispatch;
109
+        $this->workflowDispatch = (boolean) $workflowDispatch;
110 110
 
111 111
         return $this;
112 112
     }
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function setWorkflowRunType($workflowRunType)
136 136
     {
137
-        $this->workflowRunType = (string)$workflowRunType;
137
+        $this->workflowRunType = (string) $workflowRunType;
138 138
 
139 139
         return $this;
140 140
     }
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function setFlagRunPrepareData($flagRunPrepareData)
161 161
     {
162
-        $this->flagRunPrepareData = (boolean)$flagRunPrepareData;
162
+        $this->flagRunPrepareData = (boolean) $flagRunPrepareData;
163 163
 
164 164
         return $this;
165 165
     }
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
             $errMsg = sprintf('Not allowed prepare data method %s', $prepareDataMethod);
191 191
             throw new Exception\InvalidMetadataException($errMsg);
192 192
         }
193
-        $this->prepareDataMethod = (string)$prepareDataMethod;
193
+        $this->prepareDataMethod = (string) $prepareDataMethod;
194 194
 
195 195
         return $this;
196 196
     }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public function setPrepareDataHandler($prepareDataHandler)
217 217
     {
218
-        $this->prepareDataHandler = (string)$prepareDataHandler;
218
+        $this->prepareDataHandler = (string) $prepareDataHandler;
219 219
 
220 220
         return $this;
221 221
     }
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      */
240 240
     public function setFlagHasConditions($flagHasConditions)
241 241
     {
242
-        $this->flagHasConditions = (boolean)$flagHasConditions;
242
+        $this->flagHasConditions = (boolean) $flagHasConditions;
243 243
 
244 244
         return $this;
245 245
     }
Please login to merge, or discard this patch.
src/Metadata/Target/RunParams/Metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
      */
132 132
     public function setEntryIdRouterParam($entryIdRouterParam)
133 133
     {
134
-        $this->entryIdRouterParam = (string)$entryIdRouterParam;
134
+        $this->entryIdRouterParam = (string) $entryIdRouterParam;
135 135
 
136 136
         return $this;
137 137
     }
Please login to merge, or discard this patch.