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
Push — php72 ( a14e51...94fc0a )
by Joni
02:27
created
lib/X509/Certificate/Extension/ExtendedKeyUsageExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate\Extension;
6 6
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     protected static function _fromDER(string $data, bool $critical): Extension
125 125
     {
126 126
         $purposes = array_map(
127
-            function (UnspecifiedType $el) {
127
+            function(UnspecifiedType $el) {
128 128
                 return $el->asObjectIdentifier()->oid();
129 129
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
130 130
         return new self($critical, ...$purposes);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     protected function _valueASN1(): Element
137 137
     {
138 138
         $elements = array_map(
139
-            function ($oid) {
139
+            function($oid) {
140 140
                 return new ObjectIdentifier($oid);
141 141
             }, $this->_purposes);
142 142
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/Target/TargetName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate\Extension\Target;
6 6
 
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/Target/Targets.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate\Extension\Target;
6 6
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public static function fromASN1(Sequence $seq): self
42 42
     {
43 43
         $targets = array_map(
44
-            function (UnspecifiedType $el) {
44
+            function(UnspecifiedType $el) {
45 45
                 return Target::fromASN1($el->asTagged());
46 46
             }, $seq->elements());
47 47
         return new self(...$targets);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     public function toASN1(): Sequence
103 103
     {
104 104
         $elements = array_map(
105
-            function (Target $target) {
105
+            function(Target $target) {
106 106
                 return $target->toASN1();
107 107
             }, $this->_targets);
108 108
         return new Sequence(...$elements);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         return array_values(
143 143
             array_filter($this->_targets,
144
-                function (Target $target) use ($type) {
144
+                function(Target $target) use ($type) {
145 145
                     return $target->type() == $type;
146 146
                 }));
147 147
     }
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/TargetInformationExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate\Extension;
6 6
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     protected static function _fromDER(string $data, bool $critical): Extension
135 135
     {
136 136
         $targets = array_map(
137
-            function (UnspecifiedType $el) {
137
+            function(UnspecifiedType $el) {
138 138
                 return Targets::fromASN1($el->asSequence());
139 139
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
140 140
         return new self($critical, ...$targets);
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     protected function _valueASN1(): Element
147 147
     {
148 148
         $elements = array_map(
149
-            function (Targets $targets) {
149
+            function(Targets $targets) {
150 150
                 return $targets->toASN1();
151 151
             }, $this->_targets);
152 152
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/AAControlsExtension.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate\Extension;
6 6
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
             $attr_seq = $seq->getTagged(0)->asImplicit(Element::TYPE_SEQUENCE)
175 175
                 ->asSequence();
176 176
             $permitted = array_map(
177
-                function (UnspecifiedType $el) {
177
+                function(UnspecifiedType $el) {
178 178
                     return $el->asObjectIdentifier()->oid();
179 179
                 }, $attr_seq->elements());
180 180
             ++$idx;
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
             $attr_seq = $seq->getTagged(1)->asImplicit(Element::TYPE_SEQUENCE)
184 184
                 ->asSequence();
185 185
             $excluded = array_map(
186
-                function (UnspecifiedType $el) {
186
+                function(UnspecifiedType $el) {
187 187
                     return $el->asObjectIdentifier()->oid();
188 188
                 }, $attr_seq->elements());
189 189
             ++$idx;
@@ -205,14 +205,14 @@  discard block
 block discarded – undo
205 205
         }
206 206
         if (isset($this->_permittedAttrs)) {
207 207
             $oids = array_map(
208
-                function ($oid) {
208
+                function($oid) {
209 209
                     return new ObjectIdentifier($oid);
210 210
                 }, $this->_permittedAttrs);
211 211
             $elements[] = new ImplicitlyTaggedType(0, new Sequence(...$oids));
212 212
         }
213 213
         if (isset($this->_excludedAttrs)) {
214 214
             $oids = array_map(
215
-                function ($oid) {
215
+                function($oid) {
216 216
                     return new ObjectIdentifier($oid);
217 217
                 }, $this->_excludedAttrs);
218 218
             $elements[] = new ImplicitlyTaggedType(1, new Sequence(...$oids));
Please login to merge, or discard this patch.
lib/X509/Certificate/CertificateBundle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public static function fromPEMs(PEM ...$pems): self
55 55
     {
56 56
         $certs = array_map(
57
-            function ($pem) {
57
+            function($pem) {
58 58
                 return Certificate::fromPEM($pem);
59 59
             }, $pems);
60 60
         return new self(...$certs);
Please login to merge, or discard this patch.
lib/X509/Certificate/CertificateChain.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\Certificate;
6 6
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public static function fromPEMs(PEM ...$pems): self
41 41
     {
42 42
         $certs = array_map(
43
-            function (PEM $pem) {
43
+            function(PEM $pem) {
44 44
                 return Certificate::fromPEM($pem);
45 45
             }, $pems);
46 46
         return new self(...$certs);
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     {
120 120
         return implode("\n",
121 121
             array_map(
122
-                function (Certificate $cert) {
122
+                function(Certificate $cert) {
123 123
                     return $cert->toPEM()->string();
124 124
                 }, $this->_certs));
125 125
     }
Please login to merge, or discard this patch.
lib/X509/CertificationPath/PathBuilding/CertificationPathBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\CertificationPath\PathBuilding;
6 6
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $paths = $this->_resolvePathsToTarget($target, $intermediate);
49 49
         // map paths to CertificationPath objects
50 50
         return array_map(
51
-            function ($certs) {
51
+            function($certs) {
52 52
                 return new CertificationPath(...$certs);
53 53
             }, $paths);
54 54
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             throw new PathBuildingException('No certification paths.');
72 72
         }
73 73
         usort($paths,
74
-            function ($a, $b) {
74
+            function($a, $b) {
75 75
                 return count($a) < count($b) ? -1 : 1;
76 76
             });
77 77
         return reset($paths);
Please login to merge, or discard this patch.
lib/X509/CertificationPath/PathValidation/ValidatorState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\X509\CertificationPath\PathValidation;
6 6
 
Please login to merge, or discard this patch.