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 = 11-11 lines in 2 locations

holt45.php 2 locations

@@ 46-56 (lines=11) @@
43
	 * @param array $keys
44
	 * @return bool
45
	 */
46
	public static function chk_get_all($keys) {
47
		$s = true;
48
49
		foreach($keys AS $key) {
50
		
51
			if (empty($_GET[$key])) {
52
				$s = false;
53
			}
54
		}
55
		return $s;
56
	}
57
58
	/**
59
	 * Check multiple $_POST-keys
@@ 66-76 (lines=11) @@
63
	 * @param array $keys
64
	 * @return bool
65
	 */
66
	public static function chk_post_all($keys) {
67
		$s = true;
68
69
		foreach($keys AS $key) {
70
		
71
			if (empty($_POST[$key])) {
72
				$s = false;
73
			}
74
		}
75
		return $s;
76
	}
77
78
	/**
79
	 * Convert timestamp to HTTP-date (RFC2616)