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

ShipIllusion::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
nc 1
nop 0
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Smr;
4
5
use SmrShipType;
6
7
/**
8
 * Data storage for the SmrShip::illusionShip property.
9
 */
10
class ShipIllusion {
11
12
	public function __construct(
13
		public readonly int $shipTypeID,
14
		public readonly int $attackRating,
15
		public readonly int $defenseRating,
16
	) {}
17
18
	public function getName(): string {
19
		return SmrShipType::get($this->shipTypeID)->getName();
20
	}
21
22
}
23