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 ( 44febf...07c3ac )
by Joni
02:34
created
lib/ASN1/Util/BigInt.php 1 patch
Indentation   +101 added lines, -101 removed lines patch added patch discarded remove patch
@@ -9,113 +9,113 @@
 block discarded – undo
9 9
  */
10 10
 class BigInt
11 11
 {
12
-    /**
13
-     * Number as a base 10 integer string.
14
-     *
15
-     * @var string
16
-     */
17
-    private $_num;
12
+	/**
13
+	 * Number as a base 10 integer string.
14
+	 *
15
+	 * @var string
16
+	 */
17
+	private $_num;
18 18
 
19
-    /**
20
-     * Number as an integer type.
21
-     *
22
-     * @internal Lazily initialized
23
-     *
24
-     * @var null|int
25
-     */
26
-    private $_intNum;
19
+	/**
20
+	 * Number as an integer type.
21
+	 *
22
+	 * @internal Lazily initialized
23
+	 *
24
+	 * @var null|int
25
+	 */
26
+	private $_intNum;
27 27
 
28
-    /**
29
-     * Constructor.
30
-     *
31
-     * @param int|string $num Integer number in base 10
32
-     */
33
-    public function __construct($num)
34
-    {
35
-        $this->_num = strval($num);
36
-    }
28
+	/**
29
+	 * Constructor.
30
+	 *
31
+	 * @param int|string $num Integer number in base 10
32
+	 */
33
+	public function __construct($num)
34
+	{
35
+		$this->_num = strval($num);
36
+	}
37 37
 
38
-    /**
39
-     * @return string
40
-     */
41
-    public function __toString(): string
42
-    {
43
-        return $this->base10();
44
-    }
38
+	/**
39
+	 * @return string
40
+	 */
41
+	public function __toString(): string
42
+	{
43
+		return $this->base10();
44
+	}
45 45
 
46
-    /**
47
-     * Get the number as a base 10 integer string.
48
-     *
49
-     * @return string
50
-     */
51
-    public function base10(): string
52
-    {
53
-        return $this->_num;
54
-    }
46
+	/**
47
+	 * Get the number as a base 10 integer string.
48
+	 *
49
+	 * @return string
50
+	 */
51
+	public function base10(): string
52
+	{
53
+		return $this->_num;
54
+	}
55 55
 
56
-    /**
57
-     * Get the number as an integer.
58
-     *
59
-     * @throws \RuntimeException If number overflows integer size
60
-     *
61
-     * @return int
62
-     */
63
-    public function intVal(): int
64
-    {
65
-        if (!isset($this->_intNum)) {
66
-            $num = $this->gmpObj();
67
-            if (gmp_cmp($num, $this->_intMaxGmp()) > 0) {
68
-                throw new \RuntimeException('Integer overflow.');
69
-            }
70
-            if (gmp_cmp($num, $this->_intMinGmp()) < 0) {
71
-                throw new \RuntimeException('Integer underflow.');
72
-            }
73
-            $this->_intNum = gmp_intval($num);
74
-        }
75
-        return $this->_intNum;
76
-    }
56
+	/**
57
+	 * Get the number as an integer.
58
+	 *
59
+	 * @throws \RuntimeException If number overflows integer size
60
+	 *
61
+	 * @return int
62
+	 */
63
+	public function intVal(): int
64
+	{
65
+		if (!isset($this->_intNum)) {
66
+			$num = $this->gmpObj();
67
+			if (gmp_cmp($num, $this->_intMaxGmp()) > 0) {
68
+				throw new \RuntimeException('Integer overflow.');
69
+			}
70
+			if (gmp_cmp($num, $this->_intMinGmp()) < 0) {
71
+				throw new \RuntimeException('Integer underflow.');
72
+			}
73
+			$this->_intNum = gmp_intval($num);
74
+		}
75
+		return $this->_intNum;
76
+	}
77 77
 
78
-    /**
79
-     * Get the number as a `GMP` object.
80
-     *
81
-     * @throws \RuntimeException if number is not a valid integer
82
-     *
83
-     * @return \GMP
84
-     */
85
-    public function gmpObj(): \GMP
86
-    {
87
-        $num = @gmp_init($this->_num, 10);
88
-        if (false === $num) {
89
-            throw new \RuntimeException("Unable to convert {$this->_num} to integer.");
90
-        }
91
-        return $num;
92
-    }
78
+	/**
79
+	 * Get the number as a `GMP` object.
80
+	 *
81
+	 * @throws \RuntimeException if number is not a valid integer
82
+	 *
83
+	 * @return \GMP
84
+	 */
85
+	public function gmpObj(): \GMP
86
+	{
87
+		$num = @gmp_init($this->_num, 10);
88
+		if (false === $num) {
89
+			throw new \RuntimeException("Unable to convert {$this->_num} to integer.");
90
+		}
91
+		return $num;
92
+	}
93 93
 
94
-    /**
95
-     * Get the maximum integer value.
96
-     *
97
-     * @return \GMP
98
-     */
99
-    private function _intMaxGmp(): \GMP
100
-    {
101
-        static $gmp;
102
-        if (!isset($gmp)) {
103
-            $gmp = gmp_init(PHP_INT_MAX, 10);
104
-        }
105
-        return $gmp;
106
-    }
94
+	/**
95
+	 * Get the maximum integer value.
96
+	 *
97
+	 * @return \GMP
98
+	 */
99
+	private function _intMaxGmp(): \GMP
100
+	{
101
+		static $gmp;
102
+		if (!isset($gmp)) {
103
+			$gmp = gmp_init(PHP_INT_MAX, 10);
104
+		}
105
+		return $gmp;
106
+	}
107 107
 
108
-    /**
109
-     * Get the minimum integer value.
110
-     *
111
-     * @return \GMP
112
-     */
113
-    private function _intMinGmp(): \GMP
114
-    {
115
-        static $gmp;
116
-        if (!isset($gmp)) {
117
-            $gmp = gmp_init(PHP_INT_MIN, 10);
118
-        }
119
-        return $gmp;
120
-    }
108
+	/**
109
+	 * Get the minimum integer value.
110
+	 *
111
+	 * @return \GMP
112
+	 */
113
+	private function _intMinGmp(): \GMP
114
+	{
115
+		static $gmp;
116
+		if (!isset($gmp)) {
117
+			$gmp = gmp_init(PHP_INT_MIN, 10);
118
+		}
119
+		return $gmp;
120
+	}
121 121
 }
Please login to merge, or discard this patch.