Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Failed Conditions
Pull Request — main (#1487)
by Dan
06:01
created

get_game_dir()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 18
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
eloc 13
nc 3
nop 0
dl 0
loc 18
rs 9.8333
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
/**
4
 * This function is registered as the autoloader for classes.
5
 */
6
function get_class_loc(string $className): void {
7
	$className = str_replace('\\', DIRECTORY_SEPARATOR, $className);
8
	$classFile = LIB . 'Default/' . $className . '.php';
9
	if (is_file($classFile)) {
10
		require($classFile);
11
	}
12
}
13