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 ( eb5c8e...f4ded9 )
by Joni
06:39
created
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 (UnspecifiedType $el) {
40
+			function(UnspecifiedType $el) {
41 41
 				return Target::fromASN1($el->asTagged());
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/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 (UnspecifiedType $el) {
39
+			function(UnspecifiedType $el) {
40 40
 				return PolicyMapping::fromASN1($el->asSequence());
41 41
 			}, Sequence::fromDER($data)->elements());
42 42
 		if (!count($mappings)) {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 			throw new \LogicException("No mappings.");
52 52
 		}
53 53
 		$elements = array_map(
54
-			function (PolicyMapping $mapping) {
54
+			function(PolicyMapping $mapping) {
55 55
 				return $mapping->toASN1();
56 56
 			}, $this->_mappings);
57 57
 		return new Sequence(...$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
@@ -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 (UnspecifiedType $el) {
59
+			function(UnspecifiedType $el) {
60 60
 				return Extension::fromASN1($el->asSequence());
61 61
 			}, $seq->elements());
62 62
 		return new self(...$extensions);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 */
70 70
 	public function toASN1() {
71 71
 		$elements = array_values(
72
-			array_map(function ($ext) {
72
+			array_map(function($ext) {
73 73
 				return $ext->toASN1();
74 74
 			}, $this->_extensions));
75 75
 		return new Sequence(...$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
@@ -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 (UnspecifiedType $el) {
49
+			function(UnspecifiedType $el) {
50 50
 				return GeneralName::fromASN1($el->asTagged());
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/CertificationRequest/Attributes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	 */
52 52
 	public static function fromAttributeValues(AttributeValue ...$values) {
53 53
 		$attribs = array_map(
54
-			function (AttributeValue $value) {
54
+			function(AttributeValue $value) {
55 55
 				return $value->toAttribute();
56 56
 			}, $values);
57 57
 		return new self(...$attribs);
@@ -65,12 +65,12 @@  discard block
 block discarded – undo
65 65
 	 */
66 66
 	public static function fromASN1(Set $set) {
67 67
 		$attribs = array_map(
68
-			function (UnspecifiedType $el) {
68
+			function(UnspecifiedType $el) {
69 69
 				return Attribute::fromASN1($el->asSequence());
70 70
 			}, $set->elements());
71 71
 		// cast attributes
72 72
 		$attribs = array_map(
73
-			function (Attribute $attr) {
73
+			function(Attribute $attr) {
74 74
 				$oid = $attr->oid();
75 75
 				if (array_key_exists($oid, self::MAP_OID_TO_CLASS)) {
76 76
 					$cls = self::MAP_OID_TO_CLASS[$oid];
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 	 */
111 111
 	public function toASN1() {
112 112
 		$elements = array_map(
113
-			function (Attribute $attr) {
113
+			function(Attribute $attr) {
114 114
 				return $attr->toASN1();
115 115
 			}, array_values($this->_attributes));
116 116
 		$set = new Set(...$elements);
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			++$idx;
57 57
 		}
58 58
 		$values = array_map(
59
-			function (UnspecifiedType $el) {
59
+			function(UnspecifiedType $el) {
60 60
 				return IetfAttrValue::fromASN1($el);
61 61
 			}, $seq->at($idx)
62 62
 				->asSequence()
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 				$this->_policyAuthority->toASN1());
135 135
 		}
136 136
 		$values = array_map(
137
-			function (IetfAttrValue $val) {
137
+			function(IetfAttrValue $val) {
138 138
 				return $val->toASN1();
139 139
 			}, $this->_values);
140 140
 		$elements[] = new Sequence(...$values);
Please login to merge, or discard this patch.
lib/X509/AttributeCertificate/Attributes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	 */
62 62
 	public static function fromAttributeValues(AttributeValue ...$values) {
63 63
 		$attribs = array_map(
64
-			function (AttributeValue $value) {
64
+			function(AttributeValue $value) {
65 65
 				return $value->toAttribute();
66 66
 			}, $values);
67 67
 		return new self(...$attribs);
@@ -75,12 +75,12 @@  discard block
 block discarded – undo
75 75
 	 */
76 76
 	public static function fromASN1(Sequence $seq) {
77 77
 		$attribs = array_map(
78
-			function (UnspecifiedType $el) {
78
+			function(UnspecifiedType $el) {
79 79
 				return Attribute::fromASN1($el->asSequence());
80 80
 			}, $seq->elements());
81 81
 		// cast attributes
82 82
 		$attribs = array_map(
83
-			function (Attribute $attr) {
83
+			function(Attribute $attr) {
84 84
 				$oid = $attr->oid();
85 85
 				if (array_key_exists($oid, self::MAP_OID_TO_CLASS)) {
86 86
 					$cls = self::MAP_OID_TO_CLASS[$oid];
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	 */
189 189
 	public function toASN1() {
190 190
 		$elements = array_map(
191
-			function (Attribute $attr) {
191
+			function(Attribute $attr) {
192 192
 				return $attr->toASN1();
193 193
 			}, array_values($this->_attributes));
194 194
 		return new Sequence(...$elements);
Please login to merge, or discard this patch.