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 — master ( bc496a...73ae4f )
by Андрей
03:11
created
src/TypeResolver/ChainTypeResolver.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @throws Exception\RuntimeException
73 73
      * @throws Exception\ResultNotFoundException
74 74
      */
75
-    public function getValidator($type, array $args = [])
75
+    public function getValidator($type, array $args = [ ])
76 76
     {
77 77
         $chain = clone $this->chain;
78 78
         while ($chain) {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @throws Exception\ResultNotFoundException
105 105
      * @throws Exception\RuntimeException
106 106
      */
107
-    public function getRegister($type, array $args = [])
107
+    public function getRegister($type, array $args = [ ])
108 108
     {
109 109
         $chain = clone $this->chain;
110 110
         while ($chain) {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @throws Exception\RuntimeException
137 137
      * @throws Exception\ResultNotFoundException
138 138
      */
139
-    public function getFunction($type, array $args = [])
139
+    public function getFunction($type, array $args = [ ])
140 140
     {
141 141
         $chain = clone $this->chain;
142 142
         while ($chain) {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * @throws Exception\ResultNotFoundException
169 169
      * @throws Exception\RuntimeException
170 170
      */
171
-    public function getCondition($type, array $args = [])
171
+    public function getCondition($type, array $args = [ ])
172 172
     {
173 173
         $chain = clone $this->chain;
174 174
         while ($chain) {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      */
207 207
     public function setFlagIgnoreException($flagIgnoreException)
208 208
     {
209
-        $this->flagIgnoreException = (boolean)$flagIgnoreException;
209
+        $this->flagIgnoreException = (boolean) $flagIgnoreException;
210 210
 
211 211
         return $this;
212 212
     }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Listener/InjectTypeResolver.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * @param array $options
58 58
      */
59
-    public function __construct(array $options = [])
59
+    public function __construct(array $options = [ ])
60 60
     {
61
-        call_user_func_array([$this, 'init'], $options);
61
+        call_user_func_array([ $this, 'init' ], $options);
62 62
     }
63 63
 
64 64
     /**
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function attach(EventManagerInterface $events)
80 80
     {
81
-        $this->listeners[] = $events->attach(WorkflowManagerEvent::EVENT_CREATE, [$this, 'createWorkflowManager'], -80);
81
+        $this->listeners[ ] = $events->attach(WorkflowManagerEvent::EVENT_CREATE, [ $this, 'createWorkflowManager' ], -80);
82 82
     }
83 83
 
84 84
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function attachDefaultListeners()
88 88
     {
89
-        $this->getEventManager()->attach(WorkflowTypeResolverEvent::INJECT_WORKFLOW_TYPE_RESOLVER, [$this, 'addServiceTypeResolver']);
89
+        $this->getEventManager()->attach(WorkflowTypeResolverEvent::INJECT_WORKFLOW_TYPE_RESOLVER, [ $this, 'addServiceTypeResolver' ]);
90 90
     }
91 91
 
92 92
     /**
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Options/ModuleOptions.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @return $this
98 98
      */
99
-    public function setMetadataReaderOptions(array $metadataReaderOptions = [])
99
+    public function setMetadataReaderOptions(array $metadataReaderOptions = [ ])
100 100
     {
101 101
         $this->metadataReaderOptions = $metadataReaderOptions;
102 102
 
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Metadata/MetadataReaderManagerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
      *
22 22
      * @return mixed
23 23
      */
24
-    public function get($name, $options = [], $usePeeringServiceManagers = true);
24
+    public function get($name, $options = [ ], $usePeeringServiceManagers = true);
25 25
 }
Please login to merge, or discard this patch.
src/Metadata/Storage/Metadata.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      *
18 18
      * @var array
19 19
      */
20
-    protected $argumentsMap = [];
20
+    protected $argumentsMap = [ ];
21 21
 
22 22
     /**
23 23
      * Имя переменной в transientVars, в которую нужно сохранить результаты сервиса
@@ -45,14 +45,14 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @var array
47 47
      */
48
-    protected $resultMap = [];
48
+    protected $resultMap = [ ];
49 49
 
50 50
     /**
51 51
      * Хеши обеспечивающие уникальность данных используемых для маппинга результатов работы сервиса
52 52
      *
53 53
      * @var array
54 54
      */
55
-    protected $resultMapHash = [];
55
+    protected $resultMapHash = [ ];
56 56
 
57 57
     /**
58 58
      * Добвляет элемент в карту маппинга аргументов
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             throw new Exception\InvalidArgumentMapException($errMsg);
72 72
         }
73 73
 
74
-        $this->argumentsMap[$to] = $fromArgName;
74
+        $this->argumentsMap[ $to ] = $fromArgName;
75 75
 
76 76
         return $this;
77 77
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function setResultVariableName($resultVariableName)
107 107
     {
108
-        $this->resultVariableName = (string)$resultVariableName;
108
+        $this->resultVariableName = (string) $resultVariableName;
109 109
 
110 110
         return $this;
111 111
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function setAllowOverrideResult($allowOverrideResult)
131 131
     {
132
-        $this->allowOverrideResult = (boolean)$allowOverrideResult;
132
+        $this->allowOverrideResult = (boolean) $allowOverrideResult;
133 133
 
134 134
         return $this;
135 135
     }
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
         }
163 163
 
164 164
 
165
-        $this->resultMap[$item->getFrom()] = $item;
166
-        $this->resultMapHash[$key] = $key;
165
+        $this->resultMap[ $item->getFrom() ] = $item;
166
+        $this->resultMapHash[ $key ] = $key;
167 167
         $this->flagUseResultMap = true;
168 168
 
169 169
         return $this;
@@ -197,6 +197,6 @@  discard block
 block discarded – undo
197 197
             $errMsg = sprintf('Map for key %s not found', $from);
198 198
             throw new Exception\InvalidResultMapException($errMsg);
199 199
         }
200
-        return $this->resultMap[$from];
200
+        return $this->resultMap[ $from ];
201 201
     }
202 202
 }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Metadata/Storage/ResultMapMetadata.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      */
118 118
     public function setOverride($override)
119 119
     {
120
-        $this->override = (boolean)$override;
120
+        $this->override = (boolean) $override;
121 121
 
122 122
         return $this;
123 123
     }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Metadata/Reader/AnnotationReader.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @var MetadataInterface[]
46 46
      */
47
-    protected $classAnnotations = [];
47
+    protected $classAnnotations = [ ];
48 48
 
49 49
     /**
50 50
      *
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     protected function init()
65 65
     {
66 66
         try {
67
-            AnnotationRegistry::registerLoader(function ($class) {
67
+            AnnotationRegistry::registerLoader(function($class) {
68 68
                 return (bool) class_exists($class);
69 69
             });
70 70
         } catch (\Exception $e) {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     {
92 92
         $key = $serviceClassName . '_' . $serviceMethod;
93 93
         if (array_key_exists($key, $this->classAnnotations)) {
94
-            return $this->classAnnotations[$key];
94
+            return $this->classAnnotations[ $key ];
95 95
         }
96 96
 
97 97
         $r = new ReflectionClass($serviceClassName);
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     public function setDoctrineAnnotationReaderClassName($doctrineAnnotationReaderClassName)
195 195
     {
196
-        $this->doctrineAnnotationReaderClassName = (string)$doctrineAnnotationReaderClassName;
196
+        $this->doctrineAnnotationReaderClassName = (string) $doctrineAnnotationReaderClassName;
197 197
 
198 198
         return $this;
199 199
     }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Annotation/ResultsMap.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,5 +23,5 @@
 block discarded – undo
23 23
      *
24 24
      * @Required()
25 25
      */
26
-    public $map = [];
26
+    public $map = [ ];
27 27
 }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.
src/Annotation/ArgumentsMap.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
      *
23 23
      * @Required()
24 24
      */
25
-    public $argumentsMap = [];
25
+    public $argumentsMap = [ ];
26 26
 }
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/workflow-zf2-service
4
- * @author  Malofeykin Andrey  <[email protected]>
5
- */
3
+     * @link https://github.com/old-town/workflow-zf2-service
4
+     * @author  Malofeykin Andrey  <[email protected]>
5
+     */
6 6
 namespace OldTown\Workflow\ZF2\Service;
7 7
 
8 8
 
Please login to merge, or discard this patch.