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

classes/class-backup.php 1 location

@@ 1342-1344 (lines=3) @@
1339
		}
1340
1341
		// If path() is inside root(), exclude it
1342
		if ( strpos( Path::get_path(), Path::get_root() ) !== false ) {
1343
			array_unshift( $excludes, trailingslashit( Path::get_path() ) );
1344
		}
1345
1346
		return array_unique( $excludes );
1347

classes/class-excludes.php 1 location

@@ 60-62 (lines=3) @@
57
		$excludes = array_merge( $this->get_default_excludes(), $this->excludes );
58
59
		// If path() is inside root(), exclude it
60
		if ( strpos( Path::get_path(), Path::get_root() ) !== false ) {
61
			array_unshift( $excludes, trailingslashit( Path::get_path() ) );
62
		}
63
64
		// Prepare the exclude rules
65
		$excludes = array_map( function( $exclude ) {