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 — master ( 20c993...94c36f )
by Dan
23s queued 18s
created

ShipClassTest::test_getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php declare(strict_types=1);
2
3
namespace SmrTest\lib\DefaultGame;
4
5
use Smr\ShipClass;
6
7
/**
8
 * @covers Smr\ShipClass
9
 */
10
class ShipClassTest extends \PHPUnit\Framework\TestCase {
11
12
	public function test_getName() {
13
		$this->assertSame('Trader', ShipClass::getName(2));
14
	}
15
16
	public function test_getAllNames() {
17
		$this->assertSame('Trader', ShipClass::getAllNames()[2]);
18
	}
19
20
}
21