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

classes/backup/class-backup-utilities.php 1 location

@@ 7-17 (lines=11) @@
4
5
class Backup_Utilities {
6
7
	public static function is_safe_mode_on( $ini_get_callback = 'ini_get' ) {
8
9
		$safe_mode = @call_user_func( $ini_get_callback, 'safe_mode' );
10
11
		if ( $safe_mode && strtolower( $safe_mode ) !== 'off' ) {
12
			return true;
13
		}
14
15
		return false;
16
17
	}
18
19
	public static function is_exec_available() {
20

classes/class-backup.php 1 location

@@ 181-191 (lines=11) @@
178
	 *
179
	 * @return bool
180
	 */
181
	public static function is_safe_mode_on( $ini_get_callback = 'ini_get' ) {
182
183
		$safe_mode = @call_user_func( $ini_get_callback, 'safe_mode' );
184
185
		if ( $safe_mode && strtolower( $safe_mode ) != 'off' ) {
186
			return true;
187
		}
188
189
		return false;
190
191
	}
192
193
	/**
194
	 * Check whether shell_exec has been disabled.