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.

Code Duplication    Length = 7-7 lines in 3 locations

lib/JWX/JWK/JWKSet.php 1 location

@@ 75-81 (lines=7) @@
72
	 * @throws \UnexpectedValueException
73
	 * @return self
74
	 */
75
	public static function fromJSON($json) {
76
		$members = json_decode($json, true, 32, JSON_BIGINT_AS_STRING);
77
		if (!is_array($members)) {
78
			throw new \UnexpectedValueException("Invalid JSON.");
79
		}
80
		return self::fromArray($members);
81
	}
82
	
83
	/**
84
	 * Get all JWK's in a set.

lib/JWX/JWK/JWK.php 1 location

@@ 56-62 (lines=7) @@
53
	 * @throws \UnexpectedValueException
54
	 * @return self
55
	 */
56
	public static function fromJSON($json) {
57
		$members = json_decode($json, true, 32, JSON_BIGINT_AS_STRING);
58
		if (!is_array($members)) {
59
			throw new \UnexpectedValueException("Invalid JSON.");
60
		}
61
		return static::fromArray($members);
62
	}
63
	
64
	/**
65
	 * Initialize from another JWK.

lib/JWX/JWT/Header.php 1 location

@@ 55-61 (lines=7) @@
52
	 * @throws \UnexpectedValueException
53
	 * @return self
54
	 */
55
	public static function fromJSON($json) {
56
		$members = json_decode($json, true, 32, JSON_BIGINT_AS_STRING);
57
		if (!is_array($members)) {
58
			throw new \UnexpectedValueException("Invalid JSON.");
59
		}
60
		return self::fromArray($members);
61
	}
62
	
63
	/**
64
	 * Get self with parameters added.