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 ( 909684...e1b3d2 )
by Андрей
15:20
created
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/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.
src/Loader/Traits/TypeTrait.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 $type;
21
+    protected $type;
22 22
 
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/Loader/ValidatorDescriptor.php 1 patch
Indentation   +7 added lines, -7 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;
7 7
 
8 8
 use DOMElement;
@@ -17,10 +17,10 @@  discard block
 block discarded – undo
17 17
  */
18 18
 class ValidatorDescriptor extends AbstractDescriptor
19 19
     implements Traits\ArgsInterface,
20
-               Traits\TypeInterface,
21
-               Traits\NameInterface,
22
-               Traits\CustomArgInterface,
23
-               WriteXmlInterface
20
+                Traits\TypeInterface,
21
+                Traits\NameInterface,
22
+                Traits\CustomArgInterface,
23
+                WriteXmlInterface
24 24
 {
25 25
     use Traits\ArgsTrait, Traits\TypeTrait, Traits\IdTrait, Traits\NameTrait;
26 26
 
Please login to merge, or discard this patch.
src/Loader/WorkflowLoader.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $content = null;
28 28
         if ($resource instanceof UriInterface) {
29
-            $uri = (string)$resource;
29
+            $uri = (string) $resource;
30 30
             $content = file_get_contents($uri);
31 31
         } elseif (is_string($resource)) {
32 32
             if (!file_exists($resource)) {
Please login to merge, or discard this 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\PhpUnit\Utils;
7 7
 
8 8
 use OldTown\Workflow\PhpUnit\Test\Paths;
Please login to merge, or discard this patch.
src/Loader/XMLWorkflowFactory/WorkflowConfig.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                 $uri = $this->uriFactory($location);
86 86
                 $this->url = $uri;
87 87
 
88
-                $uriString = (string)$uri;
88
+                $uriString = (string) $uri;
89 89
                 $meta = get_headers($uriString, 1);
90 90
 
91 91
                 $lastModified = time();
Please login to merge, or discard this 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\PhpUnit\Utils;
7 7
 
8 8
 use OldTown\Workflow\PhpUnit\Test\Paths;
Please login to merge, or discard this patch.
src/Loader/XmlUtil.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
         if (!$element instanceof DOMElement) {
56 56
             $errMsg = sprintf('Отсутствует элемен %s', $childName);
57
-            $exception =  new NotExistsRequiredElementException($errMsg);
57
+            $exception = new NotExistsRequiredElementException($errMsg);
58 58
 
59 59
             throw $exception;
60 60
         }
@@ -144,12 +144,12 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public static function getRequiredAttributeValue(DOMElement $node, $attributeName)
146 146
     {
147
-        $attributeName = (string)$attributeName;
147
+        $attributeName = (string) $attributeName;
148 148
 
149 149
         $attribute = $node->attributes->getNamedItem($attributeName);
150 150
         if (!$attribute) {
151 151
             $errMsg = "Отсутствует атрибут {$attributeName} у тега {$node->nodeName}";
152
-            $exception =  new NotExistsRequiredAttributeException($errMsg);
152
+            $exception = new NotExistsRequiredAttributeException($errMsg);
153 153
             $exception->setRequiredAttributeName($attributeName);
154 154
 
155 155
             throw $exception;
Please login to merge, or discard this 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\PhpUnit\Utils;
7 7
 
8 8
 use OldTown\Workflow\PhpUnit\Test\Paths;
Please login to merge, or discard this patch.
src/Loader/XmlWorkflowFactory.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      */
268 268
     public function getWorkflow($name, $validate = true)
269 269
     {
270
-        $name = (string)$name;
270
+        $name = (string) $name;
271 271
         if (!array_key_exists($name, $this->workflows)) {
272 272
             $errMsg = sprintf('Нет workflow с именем %s', $name);
273 273
             throw new FactoryException($errMsg);
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
      */
298 298
     protected function loadWorkflow(WorkflowConfig $c, $validate = true)
299 299
     {
300
-        $validate = (boolean)$validate;
300
+        $validate = (boolean) $validate;
301 301
         try {
302 302
             $c->descriptor = WorkflowLoader::load($c->url, $validate);
303 303
         } catch (\Exception $e) {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 
327 327
         $basedir = $basedirAtr;
328 328
         if (0 === strpos($basedir, '.')) {
329
-            $basedir = dirname($pathWorkflowFile) .  substr($basedir, 1);
329
+            $basedir = dirname($pathWorkflowFile) . substr($basedir, 1);
330 330
         }
331 331
 
332 332
         if (file_exists($basedir)) {
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      */
395 395
     public static function addDefaultPathToWorkflows($path)
396 396
     {
397
-        $path = (string)$path;
397
+        $path = (string) $path;
398 398
 
399 399
         array_unshift(static::$defaultPathsToWorkflows, $path);
400 400
     }
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
      */
415 415
     public function saveWorkflow($name, WorkflowDescriptor $descriptor, $replace = false)
416 416
     {
417
-        $name = (string)$name;
417
+        $name = (string) $name;
418 418
         $c = array_key_exists($name, $this->workflows) ? $this->workflows[$name] : null;
419 419
 
420 420
         if (null !== $c && !$replace) {
Please login to merge, or discard this 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\PhpUnitTest\Loader;
7 7
 
8 8
 use OldTown\Workflow\PhpUnit\Test\Paths;
Please login to merge, or discard this patch.
src/Query/FieldExpression.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $this->setContext($context);
174 174
         $this->setField($field);
175 175
         $this->setOperator($operator);
176
-        $this->negate = (boolean)$negate;
176
+        $this->negate = (boolean) $negate;
177 177
     }
178 178
 
179 179
     /**
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             throw new ArgumentNotNumericException($errMsg);
225 225
         }
226 226
 
227
-        $this->context = (integer)$context;
227
+        $this->context = (integer) $context;
228 228
 
229 229
         return $this;
230 230
     }
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
             throw new ArgumentNotNumericException($errMsg);
254 254
         }
255 255
 
256
-        $this->field = (integer)$field;
256
+        $this->field = (integer) $field;
257 257
 
258 258
         return $this;
259 259
     }
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
             throw new ArgumentNotNumericException($errMsg);
283 283
         }
284 284
 
285
-        $this->operator = (integer)$operator;
285
+        $this->operator = (integer) $operator;
286 286
 
287 287
         return $this;
288 288
     }
Please login to merge, or discard this 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\PhpUnit\Utils;
7 7
 
8 8
 use OldTown\Workflow\PhpUnit\Test\Paths;
Please login to merge, or discard this patch.