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

buildBetaFunctionsProcessor()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 3
c 1
b 0
f 0
nc 2
nop 1
dl 0
loc 4
rs 10
1
<?php declare(strict_types=1);
2
3
namespace Smr\Pages\Player\BetaFunctions;
4
5
use AbstractSmrPlayer;
6
use Globals;
7
use SmrPlanet;
8
9
class PlanetStockpileProcessor extends BetaFunctionsPageProcessor {
10
11
	public function buildBetaFunctionsProcessor(AbstractSmrPlayer $player): void {
12
		$planet = $player->getSector()->getPlanet();
13
		foreach (Globals::getGoods() as $goodID => $good) {
14
			$planet->setStockpile($goodID, SmrPlanet::MAX_STOCKPILE);
15
		}
16
	}
17
18
}
19