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 ( 584877...f7ba31 )
by Joni
05:42
created
lib/X509/CertificationRequest/Attributes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public static function fromAttributeValues(AttributeValue ...$values): self
55 55
     {
56 56
         $attribs = array_map(
57
-            function (AttributeValue $value) {
57
+            function(AttributeValue $value) {
58 58
                 return $value->toAttribute();
59 59
             }, $values);
60 60
         return new self(...$attribs);
@@ -69,12 +69,12 @@  discard block
 block discarded – undo
69 69
     public static function fromASN1(Set $set): self
70 70
     {
71 71
         $attribs = array_map(
72
-            function (UnspecifiedType $el) {
72
+            function(UnspecifiedType $el) {
73 73
                 return Attribute::fromASN1($el->asSequence());
74 74
             }, $set->elements());
75 75
         // cast attributes
76 76
         $attribs = array_map(
77
-            function (Attribute $attr) {
77
+            function(Attribute $attr) {
78 78
                 $oid = $attr->oid();
79 79
                 if (array_key_exists($oid, self::MAP_OID_TO_CLASS)) {
80 80
                     $cls = self::MAP_OID_TO_CLASS[$oid];
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     public function toASN1(): Set
118 118
     {
119 119
         $elements = array_map(
120
-            function (Attribute $attr) {
120
+            function(Attribute $attr) {
121 121
                 return $attr->toASN1();
122 122
             }, array_values($this->_attributes));
123 123
         $set = new Set(...$elements);
Please login to merge, or discard this patch.
lib/X509/GeneralName/GeneralNames.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                 "GeneralNames must have at least one GeneralName.");
50 50
         }
51 51
         $names = array_map(
52
-            function (UnspecifiedType $el) {
52
+            function(UnspecifiedType $el) {
53 53
                 return GeneralName::fromASN1($el->asTagged());
54 54
             }, $seq->elements());
55 55
         return new self(...$names);
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     public function allOf(int $tag): array
108 108
     {
109 109
         $names = array_filter($this->_names,
110
-            function (GeneralName $name) use ($tag) {
110
+            function(GeneralName $name) use ($tag) {
111 111
                 return $name->tag() == $tag;
112 112
             });
113 113
         return array_values($names);
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
                 "GeneralNames must have at least one GeneralName.");
172 172
         }
173 173
         $elements = array_map(
174
-            function (GeneralName $name) {
174
+            function(GeneralName $name) {
175 175
                 return $name->toASN1();
176 176
             }, $this->_names);
177 177
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/GeneralName/IPv6Address.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     protected static function _wordsToIPv6String(array $words): string
41 41
     {
42 42
         $groups = array_map(
43
-            function ($word) {
43
+            function($word) {
44 44
                 return sprintf("%04x", $word);
45 45
             }, $words);
46 46
         return implode(":", $groups);
Please login to merge, or discard this patch.
lib/X509/Certificate/CertificateChain.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public static function fromPEMs(PEM ...$pems): self
40 40
     {
41 41
         $certs = array_map(
42
-            function (PEM $pem) {
42
+            function(PEM $pem) {
43 43
                 return Certificate::fromPEM($pem);
44 44
             }, $pems);
45 45
         return new self(...$certs);
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         return implode("\n",
117 117
             array_map(
118
-                function (Certificate $cert) {
118
+                function(Certificate $cert) {
119 119
                     return $cert->toPEM()->string();
120 120
                 }, $this->_certs));
121 121
     }
Please login to merge, or discard this patch.
lib/X509/Certificate/CertificateBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public static function fromPEMs(PEM ...$pems): self
54 54
     {
55 55
         $certs = array_map(
56
-            function ($pem) {
56
+            function($pem) {
57 57
                 return Certificate::fromPEM($pem);
58 58
             }, $pems);
59 59
         return new self(...$certs);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extensions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public static function fromASN1(Sequence $seq): self
48 48
     {
49 49
         $extensions = array_map(
50
-            function (UnspecifiedType $el) {
50
+            function(UnspecifiedType $el) {
51 51
                 return Ext\Extension::fromASN1($el->asSequence());
52 52
             }, $seq->elements());
53 53
         return new self(...$extensions);
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $elements = array_values(
64 64
             array_map(
65
-                function ($ext) {
65
+                function($ext) {
66 66
                     return $ext->toASN1();
67 67
                 }, $this->_extensions));
68 68
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/PolicyMappingsExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     protected static function _fromDER(string $data, bool $critical): self
46 46
     {
47 47
         $mappings = array_map(
48
-            function (UnspecifiedType $el) {
48
+            function(UnspecifiedType $el) {
49 49
                 return PolicyMapping::fromASN1($el->asSequence());
50 50
             }, Sequence::fromDER($data)->elements());
51 51
         if (!count($mappings)) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             throw new \LogicException("No mappings.");
67 67
         }
68 68
         $elements = array_map(
69
-            function (PolicyMapping $mapping) {
69
+            function(PolicyMapping $mapping) {
70 70
                 return $mapping->toASN1();
71 71
             }, $this->_mappings);
72 72
         return new Sequence(...$elements);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     public function issuerDomainPolicies(): array
132 132
     {
133 133
         $idps = array_map(
134
-            function (PolicyMapping $mapping) {
134
+            function(PolicyMapping $mapping) {
135 135
                 return $mapping->issuerDomainPolicy();
136 136
             }, $this->_mappings);
137 137
         return array_values(array_unique($idps));
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/CertificatePoliciesExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     protected static function _fromDER(string $data, bool $critical): self
48 48
     {
49 49
         $policies = array_map(
50
-            function (UnspecifiedType $el) {
50
+            function(UnspecifiedType $el) {
51 51
                 return PolicyInformation::fromASN1($el->asSequence());
52 52
             }, Sequence::fromDER($data)->elements());
53 53
         if (!count($policies)) {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             throw new \LogicException("No policies.");
120 120
         }
121 121
         $elements = array_map(
122
-            function (PolicyInformation $pi) {
122
+            function(PolicyInformation $pi) {
123 123
                 return $pi->toASN1();
124 124
             }, array_values($this->_policies));
125 125
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/Target/Targets.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public static function fromASN1(Sequence $seq): self
41 41
     {
42 42
         $targets = array_map(
43
-            function (UnspecifiedType $el) {
43
+            function(UnspecifiedType $el) {
44 44
                 return Target::fromASN1($el->asTagged());
45 45
             }, $seq->elements());
46 46
         return new self(...$targets);
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         return array_values(
68 68
             array_filter($this->_targets,
69
-                function (Target $target) use ($type) {
69
+                function(Target $target) use ($type) {
70 70
                     return $target->type() == $type;
71 71
                 }));
72 72
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     public function toASN1(): Sequence
116 116
     {
117 117
         $elements = array_map(
118
-            function (Target $target) {
118
+            function(Target $target) {
119 119
                 return $target->toASN1();
120 120
             }, $this->_targets);
121 121
         return new Sequence(...$elements);
Please login to merge, or discard this patch.