We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -561,7 +561,7 @@ |
||
561 | 561 | */ |
562 | 562 | public function setWarp(SmrSector $warp) : void { |
563 | 563 | if ($this->getWarp() == $warp->getSectorID() && |
564 | - $warp->getWarp() == $this->getSectorID()) { |
|
564 | + $warp->getWarp() == $this->getSectorID()) { |
|
565 | 565 | // Warps are already set correctly! |
566 | 566 | return; |
567 | 567 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | */ |
6 | 6 | class GameLink |
7 | 7 | { |
8 | - public bool $valid = false; // identifies if the message is linked to game data |
|
8 | + public bool $valid = false; // identifies if the message is linked to game data |
|
9 | 9 | public SmrPlayer $player; |
10 | 10 | |
11 | 11 | function __construct(Discord\Parts\Channel\Message $message) { |
@@ -735,14 +735,14 @@ |
||
735 | 735 | |
736 | 736 | public function isFederal() : bool { |
737 | 737 | return $this->getTypeID() === SHIP_TYPE_FEDERAL_DISCOVERY || |
738 | - $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
739 | - $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
738 | + $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
739 | + $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
740 | 740 | } |
741 | 741 | |
742 | 742 | public function isUnderground() : bool { |
743 | 743 | return $this->getTypeID() === SHIP_TYPE_THIEF || |
744 | - $this->getTypeID() === SHIP_TYPE_ASSASSIN || |
|
745 | - $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
744 | + $this->getTypeID() === SHIP_TYPE_ASSASSIN || |
|
745 | + $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
746 | 746 | } |
747 | 747 | |
748 | 748 | public function shootPlayers(array $targetPlayers) : array { |
@@ -3,7 +3,7 @@ |
||
3 | 3 | function get_turns_message(SmrPlayer $player) : string { |
4 | 4 | // turns only update when the player is active, so calculate current turns |
5 | 5 | $turns = min($player->getTurns() + $player->getTurnsGained(time(), true), |
6 | - $player->getMaxTurns()); |
|
6 | + $player->getMaxTurns()); |
|
7 | 7 | $msg = $player->getPlayerName() . " has $turns/" . $player->getMaxTurns() . " turns."; |
8 | 8 | |
9 | 9 | // Calculate time to max turns if under the max |