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
Push — main ( d9cfb9...10f5c7 )
by Dan
32s queued 21s
created

ShipIllusionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_getName() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace SmrTest\lib\DefaultGame;
4
5
use PHPUnit\Framework\TestCase;
6
use Smr\ShipIllusion;
7
8
/**
9
 * @covers Smr\ShipIllusion
10
 */
11
class ShipIllusionTest extends TestCase {
12
13
	public function test_getName(): void {
14
		// Spot check a random ship type
15
		$illusion = new ShipIllusion(SHIP_TYPE_THIEF, 0, 0);
16
		self::assertSame('Thief', $illusion->getName());
17
	}
18
19
}
20