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 ( 3f8250...6c80d1 )
by Андрей
15:00
created
Exception/InvalidWorkflowEntryToObjectMetadataException.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.
src/EntryToObjects/EntryToObjectsService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
      * @param string $workflowName
215 215
      * @param array  $objectsInfo
216 216
      *
217
-     * @return ExtEntry|null
217
+     * @return ExtEntry
218 218
      *
219 219
      * @throws Exception\InvalidGetEntryByObjectsInfoException
220 220
      * @throws \Zend\Serializer\Exception\ExceptionInterface
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -70,14 +70,14 @@  discard block
 block discarded – undo
70 70
      *
71 71
      * @param array $options
72 72
      */
73
-    public function __construct(array $options = [])
73
+    public function __construct(array $options = [ ])
74 74
     {
75 75
         $initOptions = [
76
-            array_key_exists('serializerManager', $options) ? $options['serializerManager'] : null,
77
-            array_key_exists('moduleOptions', $options) ? $options['moduleOptions'] : null,
78
-            array_key_exists('workflowService', $options) ? $options['workflowService'] : null
76
+            array_key_exists('serializerManager', $options) ? $options[ 'serializerManager' ] : null,
77
+            array_key_exists('moduleOptions', $options) ? $options[ 'moduleOptions' ] : null,
78
+            array_key_exists('workflowService', $options) ? $options[ 'workflowService' ] : null
79 79
         ];
80
-        call_user_func_array([$this, 'init'], $initOptions);
80
+        call_user_func_array([ $this, 'init' ], $initOptions);
81 81
     }
82 82
 
83 83
     /**
@@ -126,9 +126,9 @@  discard block
 block discarded – undo
126 126
         $serializer = $this->getSerializerManager()->get($serializerName);
127 127
 
128 128
         $id = $metadata->getIdentifierValues($object);
129
-        $prepareId = [];
129
+        $prepareId = [ ];
130 130
         foreach ($id as $idField => $idValue) {
131
-            $prepareId[$idField] = (string)$idValue;
131
+            $prepareId[ $idField ] = (string) $idValue;
132 132
         }
133 133
         $serializedId = $serializer->serialize($prepareId);
134 134
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      * @throws Exception\InvalidGetEntryByObjectsInfoException
220 220
      * @throws \Zend\Serializer\Exception\ExceptionInterface
221 221
      */
222
-    public function getEntryByObjectsInfo($managerName, $workflowName, array $objectsInfo = [])
222
+    public function getEntryByObjectsInfo($managerName, $workflowName, array $objectsInfo = [ ])
223 223
     {
224 224
         try {
225 225
             $workflowManager = $this->getWorkflowService()->getWorkflowManager($managerName);
@@ -234,11 +234,11 @@  discard block
 block discarded – undo
234 234
             $em = $store->getEntityManager();
235 235
 
236 236
             $serializer = $this->getSerializer();
237
-            $objectHash = [];
237
+            $objectHash = [ ];
238 238
             foreach ($objectsInfo as $entityClassName => $entityId) {
239 239
                 $identifierFieldName = $em->getClassMetadata($entityClassName)->getSingleIdentifierFieldName();
240 240
                 $id = [
241
-                    $identifierFieldName => (string)$entityId
241
+                    $identifierFieldName => (string) $entityId
242 242
                 ];
243 243
 
244 244
                 $serializedId = $serializer->serialize($id);
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
                 $hash = $entityClassName . '_' . $serializedId;
247 247
                 $base64Hash = base64_encode($hash);
248 248
 
249
-                $objectHash[$base64Hash] = $base64Hash;
249
+                $objectHash[ $base64Hash ] = $base64Hash;
250 250
             }
251 251
 
252 252
             $extEntryClassName = $this->getModuleOptions()->getEntityClassName('DoctrineWorkflowStory\ExtEntry');
Please login to merge, or discard this patch.
src/DoctrineWorkflowStory/Exception/RuntimeException.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.
src/EntryToObjects/EntryToObjectsServiceFactory.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
         $serializerManager = $appServiceLocator->get('SerializerAdapterManager');
38 38
         $moduleOptions = $appServiceLocator->get(ModuleOptions::class);
39
-        $workflowService  = $appServiceLocator->get(Workflow::class);
39
+        $workflowService = $appServiceLocator->get(Workflow::class);
40 40
 
41 41
         return new DoctrineWorkflowStoryService(
42 42
             [
Please login to merge, or discard this patch.
src/EntryToObjects/Exception/ExceptionInterface.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.
src/EntryToObjects/EntryToObjectsControllerPlugin.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link    https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\DoctrineWorkflowStory;
7 7
 
8 8
 use Zend\Serializer\AdapterPluginManager as SerializerManager;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
      *
27 27
      * @param array $options
28 28
      */
29
-    public function __construct(array $options = [])
29
+    public function __construct(array $options = [ ])
30 30
     {
31 31
         $initOptions = [
32
-            array_key_exists('entryToObjectsService', $options) ? $options['entryToObjectsService'] : null
32
+            array_key_exists('entryToObjectsService', $options) ? $options[ 'entryToObjectsService' ] : null
33 33
         ];
34 34
 
35
-        call_user_func_array([$this, 'init'], $initOptions);
35
+        call_user_func_array([ $this, 'init' ], $initOptions);
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/EntryToObjects/EntryToObjectsControllerPluginFactory.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link    https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\DoctrineWorkflowStory;
7 7
 
8 8
 use Zend\Serializer\AdapterPluginManager as SerializerManager;
Please login to merge, or discard this patch.
src/WorkflowRunParams/Exception/RuntimeException.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.
src/EntryToObjects/Exception/RuntimeException.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/workflow-zf2-toolkit
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link  https://github.com/old-town/workflow-zf2-toolkit
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Toolkit\Validator;
7 7
 
8 8
 use Zend\Validator\AbstractValidator;
Please login to merge, or discard this patch.