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

PlanetDefensesProcessor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildBetaFunctionsProcessor() 0 5 1
1
<?php declare(strict_types=1);
2
3
namespace Smr\Pages\Player\BetaFunctions;
4
5
use AbstractSmrPlayer;
6
7
class PlanetDefensesProcessor extends BetaFunctionsPageProcessor {
8
9
	public function buildBetaFunctionsProcessor(AbstractSmrPlayer $player): void {
10
		$planet = $player->getSector()->getPlanet();
11
		$planet->setShields($planet->getMaxShields());
12
		$planet->setCDs($planet->getMaxCDs());
13
		$planet->setArmour($planet->getMaxArmour());
14
	}
15
16
}
17