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 ( eef5cb...fe4976 )
by Joni
06:29
created
lib/X509/CertificationPath/Policy/PolicyTree.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 		// is not in the user-initial-policy-set and is not anyPolicy,
91 91
 		// delete this node and all its children.
92 92
 		$valid_policy_node_set = array_filter($valid_policy_node_set, 
93
-			function (PolicyNode $node) use ($policies) {
93
+			function(PolicyNode $node) use ($policies) {
94 94
 				if ($node->isAnyPolicy()) {
95 95
 					return true;
96 96
 				}
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 			});
103 103
 		// array of valid policy OIDs
104 104
 		$valid_policy_set = array_map(
105
-			function (PolicyNode $node) {
105
+			function(PolicyNode $node) {
106 106
 				return $node->validPolicy();
107 107
 			}, $valid_policy_node_set);
108 108
 		// 3. If the valid_policy_tree includes a node of depth n with
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 		}
373 373
 		// for each node in a tree
374 374
 		$this->_root->walkNodes(
375
-			function (PolicyNode $node) use (&$set) {
375
+			function(PolicyNode $node) use (&$set) {
376 376
 				$parents = $node->parents();
377 377
 				// node has parents
378 378
 				if (count($parents)) {
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
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	
38 38
 	protected static function _fromDER($data, $critical) {
39 39
 		$mappings = array_map(
40
-			function (UnspecifiedType $el) {
40
+			function(UnspecifiedType $el) {
41 41
 				return PolicyMapping::fromASN1($el->asSequence());
42 42
 			}, Sequence::fromDER($data)->elements());
43 43
 		if (!count($mappings)) {
@@ -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);
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 	 */
114 114
 	public function issuerDomainPolicies() {
115 115
 		$idps = array_map(
116
-			function (PolicyMapping $mapping) {
116
+			function(PolicyMapping $mapping) {
117 117
 				return $mapping->issuerDomainPolicy();
118 118
 			}, $this->_mappings);
119 119
 		return array_values(array_unique($idps));
Please login to merge, or discard this patch.