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_file_loc()   A

Complexity

Conditions 5
Paths 4

Size

Total Lines 20
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 5
eloc 12
nc 4
nop 1
dl 0
loc 20
rs 9.5555
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