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.
Passed
Push — master ( c4f121...b9594d )
by Joni
05:22
created
lib/JWX/JWK/JWKSet.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
                 "JWK Set must have a 'keys' member.");
66 66
         }
67 67
         $jwks = array_map(
68
-            function ($jwkdata) {
68
+            function($jwkdata) {
69 69
                 return JWK::fromArray($jwkdata);
70 70
             }, $members["keys"]);
71 71
         unset($members["keys"]);
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $data = $this->_additional;
200 200
         $data["keys"] = array_map(
201
-            function (JWK $jwk) {
201
+            function(JWK $jwk) {
202 202
                 return $jwk->toArray();
203 203
             }, $this->_jwks);
204 204
         return $data;
Please login to merge, or discard this patch.
lib/JWX/Util/UUIDv4.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
             // time_mid
71 71
             mt_rand(0, 0xffff), 
72 72
             // time_hi_and_version
73
-            mt_rand(0, 0x0fff) | 0x4000, 
73
+            mt_rand(0, 0x0fff)|0x4000, 
74 74
             // clk_seq_hi_res
75
-            mt_rand(0, 0x3f) | 0x80, 
75
+            mt_rand(0, 0x3f)|0x80, 
76 76
             // clk_seq_low
77 77
             mt_rand(0, 0xff), 
78 78
             // node
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyManagementAlgorithm.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
      *        be updated to contain parameters specific to the encryption
38 38
      * @return string Ciphertext
39 39
      */
40
-    abstract protected function _encryptKey(string $key, Header &$header): string;
40
+    abstract protected function _encryptKey(string $key, Header&$header): string;
41 41
     
42 42
     /**
43 43
      * Decrypt a key.
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * @throws \RuntimeException For generic errors
61 61
      * @return string Encrypted key
62 62
      */
63
-    final public function encrypt(string $cek, Header &$header = null): string
63
+    final public function encrypt(string $cek, Header&$header = null): string
64 64
     {
65 65
         if (!isset($header)) {
66 66
             $header = new Header();
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyAlgorithm/RSAESKeyAlgorithm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      *
154 154
      * {@inheritdoc}
155 155
      */
156
-    protected function _encryptKey(string $key, Header &$header): string
156
+    protected function _encryptKey(string $key, Header&$header): string
157 157
     {
158 158
         $pubkey = openssl_pkey_get_public(
159 159
             $this->publicKey()
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyAlgorithm/AESGCMKWAlgorithm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      * @see \JWX\JWE\KeyManagementAlgorithm::_encryptKey()
152 152
      * @return string
153 153
      */
154
-    protected function _encryptKey(string $key, Header &$header): string
154
+    protected function _encryptKey(string $key, Header&$header): string
155 155
     {
156 156
         list($ciphertext, $auth_tag) = $this->_getGCM()->encrypt($key, "",
157 157
             $this->_kek, $this->_iv);
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyAlgorithm/DirectCEKAlgorithm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * {@inheritdoc}
68 68
      */
69
-    protected function _encryptKey(string $key, Header &$header): string
69
+    protected function _encryptKey(string $key, Header&$header): string
70 70
     {
71 71
         if ($key != $this->_cek) {
72 72
             throw new \LogicException("Content encryption key doesn't match.");
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyAlgorithm/PBES2Algorithm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
      *
194 194
      * {@inheritdoc}
195 195
      */
196
-    protected function _encryptKey(string $key, Header &$header): string
196
+    protected function _encryptKey(string $key, Header&$header): string
197 197
     {
198 198
         return $this->_kwAlgo()->wrap($key, $this->_derivedKey());
199 199
     }
Please login to merge, or discard this patch.
lib/JWX/JWE/KeyAlgorithm/AESKWAlgorithm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      *
117 117
      * {@inheritdoc}
118 118
      */
119
-    protected function _encryptKey(string $key, Header &$header): string
119
+    protected function _encryptKey(string $key, Header&$header): string
120 120
     {
121 121
         return $this->_kw()->wrap($key, $this->_kek);
122 122
     }
Please login to merge, or discard this patch.
lib/JWX/Util/BigInt.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function fromBase256(string $octets): self
51 51
     {
52
-        $num = gmp_import($octets, 1, GMP_MSW_FIRST | GMP_BIG_ENDIAN);
52
+        $num = gmp_import($octets, 1, GMP_MSW_FIRST|GMP_BIG_ENDIAN);
53 53
         return new self($num);
54 54
     }
55 55
     
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function base256(): string
82 82
     {
83
-        return gmp_export($this->_num, 1, GMP_MSW_FIRST | GMP_BIG_ENDIAN);
83
+        return gmp_export($this->_num, 1, GMP_MSW_FIRST|GMP_BIG_ENDIAN);
84 84
     }
85 85
     
86 86
     /**
Please login to merge, or discard this patch.