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::test_getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
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