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
Branch master (830556)
by Joni
05:43
created
lib/JWX/JWE/KeyAlgorithm/DirectCEKAlgorithm.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	/**
28 28
 	 * Constructor
29 29
 	 *
30
-	 * @param string $key Content encryption key
30
+	 * @param string $cek
31 31
 	 */
32 32
 	public function __construct($cek) {
33 33
 		$this->_cek = $cek;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 		return $this->_cek;
53 53
 	}
54 54
 	
55
-	protected function _encryptKey($key, Header &$header) {
55
+	protected function _encryptKey($key, Header&$header) {
56 56
 		if ($key != $this->_cek) {
57 57
 			throw new \LogicException("Content encryption key doesn't match.");
58 58
 		}
Please login to merge, or discard this patch.
lib/JWX/JWK/Parameter/KeyIDParameter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 	/**
14 14
 	 * Constructor
15 15
 	 *
16
-	 * @param string $algo Key ID
17 16
 	 */
18 17
 	public function __construct($id) {
19 18
 		parent::__construct(self::PARAM_KEY_ID, $id);
Please login to merge, or discard this patch.
lib/JWX/JWK/RSA/RSAPrivateKeyJWK.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@
 block discarded – undo
54 54
 	 * Constructor
55 55
 	 *
56 56
 	 * @param JWKParameter ...$params
57
+	 * @param JWKParameter[] $params
57 58
 	 * @throws \UnexpectedValueException If missing required parameter
58 59
 	 */
59 60
 	public function __construct(JWKParameter ...$params) {
Please login to merge, or discard this patch.
lib/JWX/JWK/RSA/RSAPublicKeyJWK.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@
 block discarded – undo
42 42
 	 * Constructor
43 43
 	 *
44 44
 	 * @param JWKParameter ...$params
45
+	 * @param JWKParameter[] $params
45 46
 	 * @throws \UnexpectedValueException If missing required parameter
46 47
 	 */
47 48
 	public function __construct(JWKParameter ...$params) {
Please login to merge, or discard this patch.
lib/JWX/JWK/Symmetric/SymmetricKeyJWK.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@
 block discarded – undo
35 35
 	 * Constructor
36 36
 	 *
37 37
 	 * @param JWKParameter ...$params
38
+	 * @param JWKParameter[] $params
38 39
 	 * @throws \UnexpectedValueException If missing required parameter
39 40
 	 */
40 41
 	public function __construct(JWKParameter ...$params) {
Please login to merge, or discard this patch.
lib/JWX/JWS/JWS.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
 	/**
48 48
 	 * Constructor
49 49
 	 *
50
-	 * @param Header $header JWS Protected Header
51 50
 	 * @param string $payload JWS Payload
52 51
 	 * @param string $signature JWS Signature
52
+	 * @param string $signature_input
53 53
 	 */
54 54
 	protected function __construct(Header $protected_header, $payload, 
55 55
 			$signature_input, $signature) {
Please login to merge, or discard this patch.
lib/JWX/JWT/Parameter/CompressionAlgorithmParameter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 	/**
14 14
 	 * Constructor
15 15
 	 *
16
-	 * @param string $type
16
+	 * @param string $algo
17 17
 	 */
18 18
 	public function __construct($algo) {
19 19
 		parent::__construct(self::PARAM_COMPRESSION_ALGORITHM, (string) $algo);
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
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	 *        be updated to contain parameters specific to the encryption
23 23
 	 * @return string Ciphertext
24 24
 	 */
25
-	abstract protected function _encryptKey($key, Header &$header);
25
+	abstract protected function _encryptKey($key, Header&$header);
26 26
 	
27 27
 	/**
28 28
 	 * Decrypt a key.
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * @throws \RuntimeException For generic errors
46 46
 	 * @return string Encrypted key
47 47
 	 */
48
-	final public function encrypt($cek, Header &$header = null) {
48
+	final public function encrypt($cek, Header&$header = null) {
49 49
 		if (!isset($header)) {
50 50
 			$header = new Header();
51 51
 		}
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
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 		return new $cls($jwk->key(), $iv);
122 122
 	}
123 123
 	
124
-	protected function _encryptKey($key, Header &$header) {
124
+	protected function _encryptKey($key, Header&$header) {
125 125
 		list($ciphertext, $auth_tag) = $this->_getGCM()->encrypt($key, "", 
126 126
 			$this->_kek, $this->_iv);
127 127
 		// insert authentication tag to the header
Please login to merge, or discard this patch.