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 ( 8abb02...91afec )
by Joni
07:17
created
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.
lib/X509/Certificate/Extension/SubjectDirectoryAttributesExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     protected static function _fromDER(string $data, bool $critical): self
41 41
     {
42 42
         $attribs = array_map(
43
-            function (UnspecifiedType $el) {
43
+            function(UnspecifiedType $el) {
44 44
                 return Attribute::fromASN1($el->asSequence());
45 45
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
46 46
         if (!count($attribs)) {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             throw new \LogicException("No attributes");
62 62
         }
63 63
         $elements = array_map(
64
-            function (Attribute $attr) {
64
+            function(Attribute $attr) {
65 65
                 return $attr->toASN1();
66 66
             }, array_values($this->_attributes));
67 67
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/TargetInformationExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     protected static function _fromDER(string $data, bool $critical): self
78 78
     {
79 79
         $targets = array_map(
80
-            function (UnspecifiedType $el) {
80
+            function(UnspecifiedType $el) {
81 81
                 return Targets::fromASN1($el->asSequence());
82 82
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
83 83
         return new self($critical, ...$targets);
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     protected function _valueASN1(): Sequence
129 129
     {
130 130
         $elements = array_map(
131
-            function (Targets $targets) {
131
+            function(Targets $targets) {
132 132
                 return $targets->toASN1();
133 133
             }, $this->_targets);
134 134
         return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/ExtendedKeyUsageExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     protected static function _fromDER(string $data, bool $critical): self
75 75
     {
76 76
         $purposes = array_map(
77
-            function (UnspecifiedType $el) {
77
+            function(UnspecifiedType $el) {
78 78
                 return $el->asObjectIdentifier()->oid();
79 79
             }, UnspecifiedType::fromDER($data)->asSequence()->elements());
80 80
         return new self($critical, ...$purposes);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     protected function _valueASN1(): Sequence
117 117
     {
118 118
         $elements = array_map(
119
-            function ($oid) {
119
+            function($oid) {
120 120
                 return new ObjectIdentifier($oid);
121 121
             }, $this->_purposes);
122 122
         return new Sequence(...$elements);
Please login to merge, or discard this patch.