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 ( 08475d...3f0af0 )
by Joni
06:37 queued 02:21
created
lib/X509/GeneralName/GeneralNames.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 				"GeneralNames must have at least one GeneralName.");
47 47
 		}
48 48
 		$names = array_map(
49
-			function (Element $el) {
49
+			function(Element $el) {
50 50
 				return GeneralName::fromASN1($el->expectTagged());
51 51
 			}, $seq->elements());
52 52
 		return new self(...$names);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 */
101 101
 	public function allOf($tag) {
102 102
 		$names = array_filter($this->_names, 
103
-			function (GeneralName $name) use ($tag) {
103
+			function(GeneralName $name) use ($tag) {
104 104
 				return $name->tag() == $tag;
105 105
 			});
106 106
 		return array_values($names);
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 				"GeneralNames must have at least one GeneralName.");
145 145
 		}
146 146
 		$elements = array_map(
147
-			function (GeneralName $name) {
147
+			function(GeneralName $name) {
148 148
 				return $name->toASN1();
149 149
 			}, $this->_names);
150 150
 		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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	
33 33
 	protected static function _wordsToIPv6String(array $words) {
34 34
 		$groups = array_map(
35
-			function ($word) {
35
+			function($word) {
36 36
 				return sprintf("%04x", $word);
37 37
 			}, $words);
38 38
 		return implode(":", $groups);
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	 */
57 57
 	public static function fromASN1(Sequence $seq) {
58 58
 		$extensions = array_map(
59
-			function (Element $el) {
59
+			function(Element $el) {
60 60
 				return Extension::fromASN1(
61 61
 					$el->expectType(Element::TYPE_SEQUENCE));
62 62
 			}, $seq->elements());
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 */
71 71
 	public function toASN1() {
72 72
 		$elements = array_values(
73
-			array_map(function ($ext) {
73
+			array_map(function($ext) {
74 74
 				return $ext->toASN1();
75 75
 			}, $this->_extensions));
76 76
 		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
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	
37 37
 	protected static function _fromDER($data, $critical) {
38 38
 		$dps = array_map(
39
-			function (Element $el) {
39
+			function(Element $el) {
40 40
 				return DistributionPoint::fromASN1(
41 41
 					$el->expectType(Element::TYPE_SEQUENCE));
42 42
 			}, Sequence::fromDER($data)->elements());
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 			throw new \LogicException("No distribution points.");
55 55
 		}
56 56
 		$elements = array_map(
57
-			function (DistributionPoint $dp) {
57
+			function(DistributionPoint $dp) {
58 58
 				return $dp->toASN1();
59 59
 			}, $this->_distributionPoints);
60 60
 		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
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	
66 66
 	protected static function _fromDER($data, $critical) {
67 67
 		$purposes = array_map(
68
-			function (Element $el) {
68
+			function(Element $el) {
69 69
 				return $el->expectType(Element::TYPE_OBJECT_IDENTIFIER)->oid();
70 70
 			}, Sequence::fromDER($data)->elements());
71 71
 		return new self($critical, ...$purposes);
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	
100 100
 	protected function _valueASN1() {
101 101
 		$elements = array_map(
102
-			function ($oid) {
102
+			function($oid) {
103 103
 				return new ObjectIdentifier($oid);
104 104
 			}, $this->_purposes);
105 105
 		return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/Target/Targets.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	 */
38 38
 	public static function fromASN1(Sequence $seq) {
39 39
 		$targets = array_map(
40
-			function (Element $el) {
40
+			function(Element $el) {
41 41
 				return Target::fromASN1($el->expectTagged());
42 42
 			}, $seq->elements());
43 43
 		return new self(...$targets);
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 */
60 60
 	public function toASN1() {
61 61
 		$elements = array_map(
62
-			function (Target $target) {
62
+			function(Target $target) {
63 63
 				return $target->toASN1();
64 64
 			}, $this->_targets);
65 65
 		return new Sequence(...$elements);
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/AAControlsExtension.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 		if ($seq->hasTagged(0)) {
81 81
 			$attr_seq = $seq->getTagged(0)->implicit(Element::TYPE_SEQUENCE);
82 82
 			$permitted = array_map(
83
-				function (Element $el) {
83
+				function(Element $el) {
84 84
 					return $el->expectType(Element::TYPE_OBJECT_IDENTIFIER)->oid();
85 85
 				}, $attr_seq->elements());
86 86
 			$idx++;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		if ($seq->hasTagged(1)) {
89 89
 			$attr_seq = $seq->getTagged(1)->implicit(Element::TYPE_SEQUENCE);
90 90
 			$excluded = array_map(
91
-				function (Element $el) {
91
+				function(Element $el) {
92 92
 					return $el->expectType(Element::TYPE_OBJECT_IDENTIFIER)->oid();
93 93
 				}, $attr_seq->elements());
94 94
 			$idx++;
@@ -183,14 +183,14 @@  discard block
 block discarded – undo
183 183
 		}
184 184
 		if (isset($this->_permittedAttrs)) {
185 185
 			$oids = array_map(
186
-				function ($oid) {
186
+				function($oid) {
187 187
 					return new ObjectIdentifier($oid);
188 188
 				}, $this->_permittedAttrs);
189 189
 			$elements[] = new ImplicitlyTaggedType(0, new Sequence(...$oids));
190 190
 		}
191 191
 		if (isset($this->_excludedAttrs)) {
192 192
 			$oids = array_map(
193
-				function ($oid) {
193
+				function($oid) {
194 194
 					return new ObjectIdentifier($oid);
195 195
 				}, $this->_excludedAttrs);
196 196
 			$elements[] = new ImplicitlyTaggedType(1, new Sequence(...$oids));
Please login to merge, or discard this patch.
lib/X509/Certificate/Extension/PolicyMappingsExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	
37 37
 	protected static function _fromDER($data, $critical) {
38 38
 		$mappings = array_map(
39
-			function (Element $el) {
39
+			function(Element $el) {
40 40
 				return PolicyMapping::fromASN1(
41 41
 					$el->expectType(Element::TYPE_SEQUENCE));
42 42
 			}, Sequence::fromDER($data)->elements());
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 			throw new \LogicException("No mappings.");
53 53
 		}
54 54
 		$elements = array_map(
55
-			function (PolicyMapping $mapping) {
55
+			function(PolicyMapping $mapping) {
56 56
 				return $mapping->toASN1();
57 57
 			}, $this->_mappings);
58 58
 		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
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	
32 32
 	protected static function _fromDER($data, $critical) {
33 33
 		$attribs = array_map(
34
-			function (Element $el) {
34
+			function(Element $el) {
35 35
 				return Attribute::fromASN1(
36 36
 					$el->expectType(Element::TYPE_SEQUENCE));
37 37
 			}, Sequence::fromDER($data)->elements());
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 			throw new \LogicException("No attributes");
48 48
 		}
49 49
 		$elements = array_map(
50
-			function (Attribute $attr) {
50
+			function(Attribute $attr) {
51 51
 				return $attr->toASN1();
52 52
 			}, array_values($this->_attributes));
53 53
 		return new Sequence(...$elements);
Please login to merge, or discard this patch.