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.
Passed
Branch dev (5375e1)
by Андрей
17:41
created
src/Loader/ResultDescriptor.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader;
7 7
 
8 8
 use DOMElement;
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function setStatus($status)
239 239
     {
240
-        $this->status = (string)$status;
240
+        $this->status = (string) $status;
241 241
 
242 242
         return $this;
243 243
     }
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      */
268 268
     public function setJoin($join)
269 269
     {
270
-        $this->join = (integer)$join;
270
+        $this->join = (integer) $join;
271 271
 
272 272
         return $this;
273 273
     }
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      */
288 288
     public function setSplit($split)
289 289
     {
290
-        $this->split = (integer)$split;
290
+        $this->split = (integer) $split;
291 291
 
292 292
         return $this;
293 293
     }
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
      */
308 308
     public function setStep($step)
309 309
     {
310
-        $this->step = (integer)$step;
310
+        $this->step = (integer) $step;
311 311
         $this->hasStep = true;
312 312
 
313 313
         return $this;
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
      */
329 329
     public function setOwner($owner)
330 330
     {
331
-        $this->owner = (string)$owner;
331
+        $this->owner = (string) $owner;
332 332
 
333 333
         return $this;
334 334
     }
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
                 try {
415 415
                     $functionElement = $function->writeXml($dom);
416 416
                 } catch (\Exception $e) {
417
-                    $errMsg  = 'Ошибка сохранения workflow. Ошибка в post-function';
417
+                    $errMsg = 'Ошибка сохранения workflow. Ошибка в post-function';
418 418
                     throw new InvalidWriteWorkflowException($errMsg, $e->getCode(), $e);
419 419
                 }
420 420
 
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
                 try {
445 445
                     $functionElement = $function->writeXml($dom);
446 446
                 } catch (\Exception $e) {
447
-                    $errMsg  = 'Ошибка сохранения workflow. Ошибка в pre-function';
447
+                    $errMsg = 'Ошибка сохранения workflow. Ошибка в pre-function';
448 448
                     throw new InvalidWriteWorkflowException($errMsg, $e->getCode(), $e);
449 449
                 }
450 450
                 $preFunctionsElements->appendChild($functionElement);
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
         $parent = $this->getParent();
573 573
         if ((null === $split) && (null === $join) && !($parent instanceof ActionDescriptor && ($parent->isFinish()))) {
574 574
             $errMsg = '';
575
-            $id = (integer)$this->getId();
575
+            $id = (integer) $this->getId();
576 576
             if (is_numeric($id)) {
577 577
                 $errMsg .= sprintf('#%s:', $id);
578 578
             }
Please login to merge, or discard this patch.
src/Loader/SplitDescriptor.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader;
7 7
 
8 8
 use DOMElement;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
             $errMsg = 'Отсутствует атрибут id';
102 102
             throw new InvalidDescriptorException($errMsg);
103 103
         }
104
-        $id =  $this->getId();
104
+        $id = $this->getId();
105 105
         $descriptor->setAttribute('id', $id);
106 106
 
107 107
         $results = $this->getResults();
Please login to merge, or discard this patch.
src/Loader/StepDescriptor.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link    https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link    https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader;
7 7
 
8 8
 use DOMElement;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      */
249 249
     public function getAction($id)
250 250
     {
251
-        $id = (integer)$id;
251
+        $id = (integer) $id;
252 252
         foreach ($this->actions as $action) {
253 253
             if ($id === $action->getId()) {
254 254
                 return $action;
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
             throw new ArgumentNotNumericException($errMsg);
284 284
         }
285 285
 
286
-        $join = (integer)$join;
286
+        $join = (integer) $join;
287 287
 
288 288
         $actions = $this->getActions();
289 289
 
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
         $hasActions = $this->hasActions;
328 328
 
329 329
         if ($hasActions && 0 === count($commonActions) && 0 === $actions->count()) {
330
-            $stepName = (string)$this->getName();
330
+            $stepName = (string) $this->getName();
331 331
             $errMsg = sprintf('Шаг %s должен содержать одни действие или одно общее действие', $stepName);
332 332
             throw new InvalidWorkflowDescriptorException($errMsg);
333 333
         }
@@ -357,12 +357,12 @@  discard block
 block discarded – undo
357 357
                 $commonActionReference = $workflowDescriptor->getCommonAction($actionId);
358 358
 
359 359
                 if (null === $commonActionReference) {
360
-                    $stepName = (string)$this->getName();
360
+                    $stepName = (string) $this->getName();
361 361
                     $errMsg = sprintf('Common-action %s указанное для шага %s не существует', $actionId, $stepName);
362 362
                     throw new InvalidWorkflowDescriptorException($errMsg);
363 363
                 }
364 364
             } catch (\Exception $e) {
365
-                $actionIdStr = (string)$actionId;
365
+                $actionIdStr = (string) $actionId;
366 366
                 $errMsg = sprintf('Некорректный id для common-action: id %s', $actionIdStr);
367 367
                 throw  new InvalidWorkflowDescriptorException($errMsg, $e->getCode(), $e);
368 368
             }
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
         $id = $this->getId();
395 395
         $descriptor->setAttribute('id', $id);
396 396
 
397
-        $name = (string)$this->getName();
397
+        $name = (string) $this->getName();
398 398
         $name = trim($name);
399 399
         if (strlen($name) > 0) {
400 400
             $nameEncode = XmlUtil::encode($name);
Please login to merge, or discard this patch.
src/Loader/Traits/ArgsInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 /**
Please login to merge, or discard this patch.
src/Loader/Traits/ArgsTrait.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 use DOMElement;
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * @var array
20 20
      */
21
-   protected $args = [];
21
+    protected $args = [];
22 22
 
23 23
     /**
24 24
      * Возвращает аргументы
Please login to merge, or discard this patch.
src/Loader/Traits/CustomArgInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link    https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link    https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 use DOMElement;
Please login to merge, or discard this patch.
src/Loader/Traits/IdTrait.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 use DOMElement;
Please login to merge, or discard this patch.
src/Loader/Traits/NameInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 /**
Please login to merge, or discard this patch.
src/Loader/Traits/NameTrait.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/old-town/old-town-workflow
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/old-town-workflow
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\Loader\Traits;
7 7
 
8 8
 use DOMElement;
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * @var string
20 20
      */
21
-   protected $name;
21
+    protected $name;
22 22
 
23 23
 
24 24
     /**
Please login to merge, or discard this patch.