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 ( 91afec...2569ae )
by Joni
05:59
created
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.
lib/X509/Certificate/Extension/CertificatePolicy/NoticeReference.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         $org = DisplayText::fromASN1($seq->at(0)->asString());
54 54
         $numbers = array_map(
55
-            function (UnspecifiedType $el) {
55
+            function(UnspecifiedType $el) {
56 56
                 return $el->asInteger()->intNumber();
57 57
             },
58 58
             $seq->at(1)
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         $org = $this->_organization->toASN1();
92 92
         $nums = array_map(
93
-            function ($number) {
93
+            function($number) {
94 94
                 return new Integer($number);
95 95
             }, $this->_numbers);
96 96
         return new Sequence($org, new Sequence(...$nums));
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/NameConstraints/GeneralSubtrees.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public static function fromASN1(Sequence $seq): self
42 42
     {
43 43
         $subtrees = array_map(
44
-            function (UnspecifiedType $el) {
44
+            function(UnspecifiedType $el) {
45 45
                 return GeneralSubtree::fromASN1($el->asSequence());
46 46
             }, $seq->elements());
47 47
         if (!count($subtrees)) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             throw new \LogicException("No subtrees.");
73 73
         }
74 74
         $elements = array_map(
75
-            function (GeneralSubtree $gs) {
75
+            function(GeneralSubtree $gs) {
76 76
                 return $gs->toASN1();
77 77
             }, $this->_subtrees);
78 78
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/AttributeCertificate/Attributes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public static function fromAttributeValues(AttributeValue ...$values): self
65 65
     {
66 66
         $attribs = array_map(
67
-            function (AttributeValue $value) {
67
+            function(AttributeValue $value) {
68 68
                 return $value->toAttribute();
69 69
             }, $values);
70 70
         return new self(...$attribs);
@@ -79,12 +79,12 @@  discard block
 block discarded – undo
79 79
     public static function fromASN1(Sequence $seq): self
80 80
     {
81 81
         $attribs = array_map(
82
-            function (UnspecifiedType $el) {
82
+            function(UnspecifiedType $el) {
83 83
                 return Attribute::fromASN1($el->asSequence());
84 84
             }, $seq->elements());
85 85
         // cast attributes
86 86
         $attribs = array_map(
87
-            function (Attribute $attr) {
87
+            function(Attribute $attr) {
88 88
                 $oid = $attr->oid();
89 89
                 if (array_key_exists($oid, self::MAP_OID_TO_CLASS)) {
90 90
                     $cls = self::MAP_OID_TO_CLASS[$oid];
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         return array_merge(array(),
206 206
             ...array_map(
207
-                function (Attribute $attr) {
207
+                function(Attribute $attr) {
208 208
                     return $attr->values();
209 209
                 }, $this->allOf(AttributeType::OID_ROLE)));
210 210
     }
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     public function toASN1(): Sequence
218 218
     {
219 219
         $elements = array_map(
220
-            function (Attribute $attr) {
220
+            function(Attribute $attr) {
221 221
                 return $attr->toASN1();
222 222
             }, array_values($this->_attributes));
223 223
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
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): Attributes
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): Attributes
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/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): Extensions
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
             }, UnspecifiedType::fromDER($data)->asSequence()->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
             }, UnspecifiedType::fromDER($data)->asSequence()->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/CRLDistributionPointsExtension.php 1 patch
Spacing   +2 added lines, -2 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
         $dps = array_map(
48
-            function (UnspecifiedType $el) {
48
+            function(UnspecifiedType $el) {
49 49
                 return DistributionPoint::fromASN1($el->asSequence());
50 50
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
51 51
         if (!count($dps)) {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             throw new \LogicException("No distribution points.");
69 69
         }
70 70
         $elements = array_map(
71
-            function (DistributionPoint $dp) {
71
+            function(DistributionPoint $dp) {
72 72
                 return $dp->toASN1();
73 73
             }, $this->_distributionPoints);
74 74
         return new Sequence(...$elements);
Please login to merge, or discard this patch.