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 ( 19c3a2...e1b92e )
by Андрей
24:50
created
src/Util/LogRegister.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $categoryName = 'OSWorkflow';
53 53
 
54 54
         if (array_key_exists('Category', $args)) {
55
-            $categoryName = (string)$args['Category'];
55
+            $categoryName = (string) $args['Category'];
56 56
         }
57 57
         $category = "{$categoryName}.{$workflowName}";
58 58
 
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/Util/PhpShell/Interpreter.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      */
254 254
     public function setContextParam($name, $contextParam)
255 255
     {
256
-        $name = (string)$name;
256
+        $name = (string) $name;
257 257
         $this->contextParams[$name] = $contextParam;
258 258
 
259 259
         return $this;
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 
383 383
 
384 384
         $source = $this->source;
385
-        $executor = function (array $args = []) use ($source) {
385
+        $executor = function(array $args = []) use ($source) {
386 386
             extract($args);
387 387
             ob_start();
388 388
             $result = eval($source);
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/Util/PhpShell/PhpShellValidatorProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $script = array_key_exists(static::PHP_SCRIPT, $args) ? $args[static::PHP_SCRIPT] : '';
34 34
 
35 35
         /**@var WorkflowContextInterface $context */
36
-        $context = $transientVars->offsetExists('context')  ? $transientVars['context'] : null;
36
+        $context = $transientVars->offsetExists('context') ? $transientVars['context'] : null;
37 37
 
38 38
         /**@var WorkflowEntryInterface $entry */
39 39
         $entry = $transientVars->offsetExists('entry') ? $transientVars['entry'] : null;
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/Util/StatusCondition.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: shirshov
5
- * Date: 11.11.15
6
- * Time: 16:17
7
- */
3
+     * Created by PhpStorm.
4
+     * User: shirshov
5
+     * Date: 11.11.15
6
+     * Time: 16:17
7
+     */
8 8
 
9 9
 namespace OldTown\Workflow\Util;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function passesCondition(TransientVarsInterface $transientVars, array $args = [], PropertySetInterface $ps)
36 36
     {
37 37
         $status = $args['status'];
38
-        $stepId = array_key_exists('stepId', $args) ? (int)$args['stepId'] : 0;
38
+        $stepId = array_key_exists('stepId', $args) ? (int) $args['stepId'] : 0;
39 39
 
40 40
         /** @var WorkflowEntryInterface $entry */
41 41
         $entry = $transientVars['entry'];
Please login to merge, or discard this patch.
test/Behat/bootstrap/WorkflowEngineContext.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
      */
73 73
     protected function init()
74 74
     {
75
-        $this->callbackFactory = function (WorkflowDescriptor $descriptor) {
76
-            return function () use ($descriptor) {
75
+        $this->callbackFactory = function(WorkflowDescriptor $descriptor) {
76
+            return function() use ($descriptor) {
77 77
                 return $descriptor;
78 78
             };
79 79
         };
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      */
205 205
     public function initializeWorkflowEntry($entryAlias, $workflowName, $initialAction)
206 206
     {
207
-        $entryAlias = (string)$entryAlias;
207
+        $entryAlias = (string) $entryAlias;
208 208
         if (array_key_exists($entryAlias, $this->entryAliasToEntryId)) {
209 209
             $errMsg = sprintf('Alias %s already exists', $entryAlias);
210 210
             throw new \RuntimeException($errMsg);
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      */
232 232
     public function callActionWithIdForWorkflowProcessWithAlias($entryAlias, $actionId)
233 233
     {
234
-        $entryAlias = (string)$entryAlias;
234
+        $entryAlias = (string) $entryAlias;
235 235
         if (!array_key_exists($entryAlias, $this->entryAliasToEntryId)) {
236 236
             $errMsg = sprintf('Alias %s not exists', $entryAlias);
237 237
             throw new \RuntimeException($errMsg);
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
         $currentSteps = $this->getWorkflowManager()->getConfiguration()->getWorkflowStore()->findCurrentSteps($entryId);
316 316
         $actualCurrentSteps = [];
317 317
         foreach ($currentSteps as $currentStep) {
318
-            $actualCurrentSteps[(integer)$currentStep->getStepId()] = $currentStep;
318
+            $actualCurrentSteps[(integer) $currentStep->getStepId()] = $currentStep;
319 319
         }
320 320
 
321 321
         $stepsColumn = $steps->getColumn(0);
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
         }
326 326
 
327 327
         foreach ($stepsColumn as $currentStepFromColumn) {
328
-            $currentStepFromColumn = (integer)$currentStepFromColumn;
328
+            $currentStepFromColumn = (integer) $currentStepFromColumn;
329 329
             if (!array_key_exists($currentStepFromColumn, $actualCurrentSteps)) {
330 330
                 $errMsg = sprintf('Step not found %s', $currentStepFromColumn);
331 331
                 throw new \RuntimeException($errMsg);
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.
test/phpunit/Bootstrap.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                     'autoregister_zf' => true,
68 68
                     'namespaces' => [
69 69
                         'OldTown\\Workflow' => __DIR__ . '/../../src/',
70
-                        __NAMESPACE__ => __DIR__. '/tests/',
70
+                        __NAMESPACE__ => __DIR__ . '/tests/',
71 71
                         'OldTown\\Workflow\\PhpUnit\\Utils' => __DIR__ . '/utils',
72 72
                     ]
73 73
                 ],
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.
test/phpunit/tests/Loader/CallbackWorkflowFactory/WorkflowConfigTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function testCreateWorkflowConfig()
23 23
     {
24
-        $expected = function () {};
24
+        $expected = function() {};
25 25
         $config = new WorkflowConfig($expected);
26 26
 
27 27
         static::assertEquals($expected, $config->callback);
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.
test/phpunit/tests/Loader/CallbackWorkflowFactoryTest.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
         $this->callbackWorkflowFactory->getProperties()->setProperty('workflows', [
138 138
             'example' => [
139
-                'callback' => function () use ($workflowDescriptorMock) {
139
+                'callback' => function() use ($workflowDescriptorMock) {
140 140
                     return $workflowDescriptorMock;
141 141
                 }
142 142
             ]
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $this->callbackWorkflowFactory->getProperties()->setProperty('workflows', [
211 211
             'example' => [
212
-                'callback' => function () {
212
+                'callback' => function() {
213 213
                     return null;
214 214
                 }
215 215
             ]
@@ -232,10 +232,10 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $this->callbackWorkflowFactory->getProperties()->setProperty('workflows', [
234 234
             'example' => [
235
-                'callback' => function () {}
235
+                'callback' => function() {}
236 236
             ],
237 237
             'test' => [
238
-                'callback' => function () {}
238
+                'callback' => function() {}
239 239
             ]
240 240
         ]);
241 241
         $this->callbackWorkflowFactory->initDone();
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 
260 260
         $this->callbackWorkflowFactory->getProperties()->setProperty('workflows', [
261 261
             'example' => [
262
-                'callback' => function () use ($workflowDescriptorMock) {
262
+                'callback' => function() use ($workflowDescriptorMock) {
263 263
                     return $workflowDescriptorMock;
264 264
                 }
265 265
             ]
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.
test/phpunit/tests/Loader/SecureDtdEntityResolverTest.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     public function testResolveEntity($schema)
45 45
     {
46 46
         $imp = new DOMImplementation();
47
-        $dtd  = $imp->createDocumentType(
47
+        $dtd = $imp->createDocumentType(
48 48
             'workflow',
49 49
             '-//OpenSymphony Group//DTD OSWorkflow 2.8//EN',
50 50
             "http://www.opensymphony.com/osworkflow/{$schema}"
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     public function testResolveEntityInvalidDocumentType()
95 95
     {
96 96
         $imp = new DOMImplementation();
97
-        $dtd  = $imp->createDocumentType(
97
+        $dtd = $imp->createDocumentType(
98 98
             'workflow',
99 99
             '-//OpenSymphony Group//DTD OSWorkflow 2.8//EN',
100 100
             'http://www.example.com/'
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     public function testResolveEntitySchemaNotFound()
119 119
     {
120 120
         $imp = new DOMImplementation();
121
-        $dtd  = $imp->createDocumentType(
121
+        $dtd = $imp->createDocumentType(
122 122
             'workflow',
123 123
             '-//OpenSymphony Group//DTD OSWorkflow 2.8//EN',
124 124
             'http://www.opensymphony.com/osworkflow/example.dtd'
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.