We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
10 | public function buildBetaFunctionsProcessor(AbstractSmrPlayer $player): void { |
||
11 | $ship = $player->getShip(); |
||
12 | $shipTypeID = Request::getInt('ship_type_id'); |
||
13 | if ($shipTypeID <= 75 && $shipTypeID != 68) { |
||
14 | // assign the new ship |
||
15 | $ship->decloak(); |
||
16 | $ship->disableIllusion(); |
||
17 | $ship->setTypeID($shipTypeID); |
||
18 | $ship->setHardwareToMax(); |
||
19 | } |
||
23 |