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 ( ff3a63...584877 )
by Joni
04:52
created
lib/X509/Certificate/Extension/CRLDistributionPointsExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected static function _fromDER($data, $critical)
44 44
     {
45 45
         $dps = array_map(
46
-            function (UnspecifiedType $el) {
46
+            function(UnspecifiedType $el) {
47 47
                 return DistributionPoint::fromASN1($el->asSequence());
48 48
             }, Sequence::fromDER($data)->elements());
49 49
         if (!count($dps)) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             throw new \LogicException("No distribution points.");
67 67
         }
68 68
         $elements = array_map(
69
-            function (DistributionPoint $dp) {
69
+            function(DistributionPoint $dp) {
70 70
                 return $dp->toASN1();
71 71
             }, $this->_distributionPoints);
72 72
         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
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected static function _fromDER($data, $critical)
44 44
     {
45 45
         $mappings = array_map(
46
-            function (UnspecifiedType $el) {
46
+            function(UnspecifiedType $el) {
47 47
                 return PolicyMapping::fromASN1($el->asSequence());
48 48
             }, Sequence::fromDER($data)->elements());
49 49
         if (!count($mappings)) {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             throw new \LogicException("No mappings.");
65 65
         }
66 66
         $elements = array_map(
67
-            function (PolicyMapping $mapping) {
67
+            function(PolicyMapping $mapping) {
68 68
                 return $mapping->toASN1();
69 69
             }, $this->_mappings);
70 70
         return new Sequence(...$elements);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     public function issuerDomainPolicies()
130 130
     {
131 131
         $idps = array_map(
132
-            function (PolicyMapping $mapping) {
132
+            function(PolicyMapping $mapping) {
133 133
                 return $mapping->issuerDomainPolicy();
134 134
             }, $this->_mappings);
135 135
         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
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     protected static function _fromDER($data, $critical)
46 46
     {
47 47
         $policies = array_map(
48
-            function (UnspecifiedType $el) {
48
+            function(UnspecifiedType $el) {
49 49
                 return PolicyInformation::fromASN1($el->asSequence());
50 50
             }, Sequence::fromDER($data)->elements());
51 51
         if (!count($policies)) {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             throw new \LogicException("No policies.");
118 118
         }
119 119
         $elements = array_map(
120
-            function (PolicyInformation $pi) {
120
+            function(PolicyInformation $pi) {
121 121
                 return $pi->toASN1();
122 122
             }, array_values($this->_policies));
123 123
         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
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $org = DisplayText::fromASN1($seq->at(0)->asString());
52 52
         $numbers = array_map(
53
-            function (UnspecifiedType $el) {
53
+            function(UnspecifiedType $el) {
54 54
                 return $el->asInteger()->number();
55 55
             },
56 56
             $seq->at(1)
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         $org = $this->_organization->toASN1();
90 90
         $nums = array_map(
91
-            function ($number) {
91
+            function($number) {
92 92
                 return new Integer($number);
93 93
             }, $this->_numbers);
94 94
         return new Sequence($org, new Sequence(...$nums));
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/CertificatePolicy/PolicyInformation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $qualifiers = array();
65 65
         if (count($seq) > 1) {
66 66
             $qualifiers = array_map(
67
-                function (UnspecifiedType $el) {
67
+                function(UnspecifiedType $el) {
68 68
                     return PolicyQualifierInfo::fromASN1($el->asSequence());
69 69
                 },
70 70
                 $seq->at(1)
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $elements = array(new ObjectIdentifier($this->_oid));
189 189
         if (count($this->_qualifiers)) {
190 190
             $qualifiers = array_map(
191
-                function (PolicyQualifierInfo $pqi) {
191
+                function(PolicyQualifierInfo $pqi) {
192 192
                     return $pqi->toASN1();
193 193
                 }, array_values($this->_qualifiers));
194 194
             $elements[] = new Sequence(...$qualifiers);
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
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public static function fromASN1(Sequence $seq)
39 39
     {
40 40
         $targets = array_map(
41
-            function (UnspecifiedType $el) {
41
+            function(UnspecifiedType $el) {
42 42
                 return Target::fromASN1($el->asTagged());
43 43
             }, $seq->elements());
44 44
         return new self(...$targets);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         return array_values(
66 66
             array_filter($this->_targets,
67
-                function (Target $target) use ($type) {
67
+                function(Target $target) use ($type) {
68 68
                     return $target->type() == $type;
69 69
                 }));
70 70
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     public function toASN1()
114 114
     {
115 115
         $elements = array_map(
116
-            function (Target $target) {
116
+            function(Target $target) {
117 117
                 return $target->toASN1();
118 118
             }, $this->_targets);
119 119
         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
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public static function fromAttributeValues(AttributeValue ...$values)
53 53
     {
54 54
         $attribs = array_map(
55
-            function (AttributeValue $value) {
55
+            function(AttributeValue $value) {
56 56
                 return $value->toAttribute();
57 57
             }, $values);
58 58
         return new self(...$attribs);
@@ -67,12 +67,12 @@  discard block
 block discarded – undo
67 67
     public static function fromASN1(Set $set)
68 68
     {
69 69
         $attribs = array_map(
70
-            function (UnspecifiedType $el) {
70
+            function(UnspecifiedType $el) {
71 71
                 return Attribute::fromASN1($el->asSequence());
72 72
             }, $set->elements());
73 73
         // cast attributes
74 74
         $attribs = array_map(
75
-            function (Attribute $attr) {
75
+            function(Attribute $attr) {
76 76
                 $oid = $attr->oid();
77 77
                 if (array_key_exists($oid, self::MAP_OID_TO_CLASS)) {
78 78
                     $cls = self::MAP_OID_TO_CLASS[$oid];
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     public function toASN1()
116 116
     {
117 117
         $elements = array_map(
118
-            function (Attribute $attr) {
118
+            function(Attribute $attr) {
119 119
                 return $attr->toASN1();
120 120
             }, array_values($this->_attributes));
121 121
         $set = new Set(...$elements);
Please login to merge, or discard this patch.
lib/X509/Feature/AttributeContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $oid = AttributeType::attrNameToOID($name);
75 75
         $attrs = array_filter($this->_attributes,
76
-            function (Attribute $attr) use ($oid) {
76
+            function(Attribute $attr) use ($oid) {
77 77
                 return $attr->oid() == $oid;
78 78
             });
79 79
         return array_values($attrs);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     {
117 117
         $obj = clone $this;
118 118
         $obj->_attributes = array_filter($obj->_attributes,
119
-            function (Attribute $a) use ($attr) {
119
+            function(Attribute $a) use ($attr) {
120 120
                 return $a->oid() != $attr->oid();
121 121
             });
122 122
         $obj->_attributes[] = $attr;
Please login to merge, or discard this patch.
lib/X509/AttributeCertificate/Attribute/IetfAttrSyntax.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ++$idx;
64 64
         }
65 65
         $values = array_map(
66
-            function (UnspecifiedType $el) {
66
+            function(UnspecifiedType $el) {
67 67
                 return IetfAttrValue::fromASN1($el);
68 68
             },
69 69
             $seq->at($idx)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 $this->_policyAuthority->toASN1());
149 149
         }
150 150
         $values = array_map(
151
-            function (IetfAttrValue $val) {
151
+            function(IetfAttrValue $val) {
152 152
                 return $val->toASN1();
153 153
             }, $this->_values);
154 154
         $elements[] = new Sequence(...$values);
Please login to merge, or discard this patch.