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 ( 30fe2e...c58695 )
by Dan
04:45
created

StoredDestinationTest::test_getDisplayName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 6
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 8
rs 10
1
<?php declare(strict_types=1);
2
3
namespace SmrTest\lib\DefaultGame;
4
5
use PHPUnit\Framework\TestCase;
6
use Smr\StoredDestination;
7
8
/**
9
 * @covers Smr\StoredDestination
10
 */
11
class StoredDestinationTest extends TestCase {
12
13
	/**
14
	 * @testWith ["foo", "#42 - foo"]
15
	 *           ["", "#42"]
16
	 */
17
	public function test_getDisplayName(string $label, string $expected): void {
18
		$dest = new StoredDestination(
19
			sectorID: 42,
20
			label: $label,
21
			offsetLeft: 1,
22
			offsetTop: 1,
23
		);
24
		self::assertSame($expected, $dest->getDisplayName());
25
	}
26
27
}
28