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

@@ 63-73 (lines=11) @@
60
	 * @param array $keys
61
	 * @return bool
62
	 */
63
	public static function chk_get_all($keys) {
64
		$s = true;
65
66
		foreach($keys AS $key) {
67
		
68
			if (empty($_GET[$key])) {
69
				$s = false;
70
			}
71
		}
72
		return $s;
73
	}
74
75
	/**
76
	 * Check multiple $_POST-keys
@@ 83-93 (lines=11) @@
80
	 * @param array $keys
81
	 * @return bool
82
	 */
83
	public static function chk_post_all($keys) {
84
		$s = true;
85
86
		foreach($keys AS $key) {
87
		
88
			if (empty($_POST[$key])) {
89
				$s = false;
90
			}
91
		}
92
		return $s;
93
	}
94
95
	/**
96
	 * Handle sessions - set session