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 ( 2e5bb5...f7e7f2 )
by Joni
03:55
created
lib/ASN1/Type/Primitive/Real.php 2 patches
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,11 +123,17 @@  discard block
 block discarded – undo
123 123
 		return $obj;
124 124
 	}
125 125
 	
126
+	/**
127
+	 * @param string $data
128
+	 */
126 129
 	protected static function _decodeBinaryEncoding($data) {
127 130
 		throw new \RuntimeException(
128 131
 			"Binary encoding of REAL is not implemented.");
129 132
 	}
130 133
 	
134
+	/**
135
+	 * @param string $data
136
+	 */
131 137
 	protected static function _decodeDecimalEncoding($data) {
132 138
 		$nr = ord($data[0]) & 0x03;
133 139
 		if ($nr != 0x03) {
@@ -137,6 +143,9 @@  discard block
 block discarded – undo
137 143
 		return new self($str);
138 144
 	}
139 145
 	
146
+	/**
147
+	 * @param string $data
148
+	 */
140 149
 	protected static function _decodeSpecialRealValue($data) {
141 150
 		if (strlen($data) != 1) {
142 151
 			throw new DecodeException(
@@ -239,7 +248,7 @@  discard block
 block discarded – undo
239 248
 	/**
240 249
 	 * Test that number is valid for this context.
241 250
 	 *
242
-	 * @param mixed $num
251
+	 * @param string $num
243 252
 	 * @return boolean
244 253
 	 */
245 254
 	private static function _validateNumber($num) {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@
 block discarded – undo
33 33
 	 * @link http://php.net/manual/en/language.types.float.php
34 34
 	 * @var string
35 35
 	 */
36
-	const PHP_EXPONENT_DNUM = '/^'. /* @formatter:off */
37
-		'([+\-]?'. // sign
38
-		'(?:'.
39
-			'\d+'. // LNUM
40
-			'|'.
41
-			'(?:\d*\.\d+|\d+\.\d*)'. // DNUM
42
-		'))[eE]'.
43
-		'([+\-]?\d+)'. // exponent
36
+	const PHP_EXPONENT_DNUM = '/^' . /* @formatter:off */
37
+		'([+\-]?' . // sign
38
+		'(?:' .
39
+			'\d+' . // LNUM
40
+			'|' .
41
+			'(?:\d*\.\d+|\d+\.\d*)' . // DNUM
42
+		'))[eE]' .
43
+		'([+\-]?\d+)' . // exponent
44 44
 	'$/'; /* @formatter:on */
45 45
 	
46 46
 	/**
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/ObjectIdentifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 	 */
93 93
 	protected static function _implodeSubIDs(\GMP ...$subids) {
94 94
 		return implode(".", 
95
-			array_map(function ($num) {
95
+			array_map(function($num) {
96 96
 				return gmp_strval($num, 10);
97 97
 			}, $subids));
98 98
 	}
Please login to merge, or discard this patch.
lib/ASN1/Type/Constructed/Set.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	public function sortedSet() {
31 31
 		$obj = clone $this;
32 32
 		usort($obj->_elements, 
33
-			function (Element $a, Element $b) {
33
+			function(Element $a, Element $b) {
34 34
 				if ($a->typeClass() != $b->typeClass()) {
35 35
 					return $a->typeClass() < $b->typeClass() ? -1 : 1;
36 36
 				}
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	public function sortedSetOf() {
52 52
 		$obj = clone $this;
53 53
 		usort($obj->_elements, 
54
-			function (Element $a, Element $b) {
54
+			function(Element $a, Element $b) {
55 55
 				$a_der = $a->toDER();
56 56
 				$b_der = $b->toDER();
57 57
 				return strcmp($a_der, $b_der);
Please login to merge, or discard this patch.