GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#160)
by Axel
04:43
created
system/Modules/Atlas/Model/PlayerRanking.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use Asylamba\Classes\Library\Format;
16 16
 use Asylamba\Modules\Demeter\Resource\ColorResource;
17
-
18 17
 use Asylamba\Modules\Zeus\Model\Player;
19 18
 
20 19
 class PlayerRanking {
Please login to merge, or discard this patch.
system/Modules/Atlas/Repository/PlayerRankingRepository.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@
 block discarded – undo
233 233
 		
234 234
 	}
235 235
 	
236
+	/**
237
+	 * @param \PDOStatement $statement
238
+	 */
236 239
 	public function formatPlayerData($statement)
237 240
 	{
238 241
 		$results = [];
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,10 @@
 block discarded – undo
3 3
 namespace Asylamba\Modules\Atlas\Repository;
4 4
 
5 5
 use Asylamba\Classes\Entity\AbstractRepository;
6
-
7 6
 use Asylamba\Modules\Demeter\Model\Color;
8
-
9 7
 use Asylamba\Modules\Ares\Model\Commander;
10 8
 use Asylamba\Modules\Zeus\Model\Player;
11 9
 use Asylamba\Modules\Atlas\Model\PlayerRanking;
12
-
13 10
 use Asylamba\Classes\Library\Utils;
14 11
 
15 12
 class PlayerRankingRepository extends AbstractRepository
Please login to merge, or discard this patch.
system/Modules/Atlas/Routine/FactionRoutine.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
 		$this->calculateTerritorialRanking($faction, $sectors);
41 41
 	}
42 42
 	
43
+	/**
44
+	 * @param \Asylamba\Modules\Atlas\Manager\FactionRankingManager $factionRankingManager
45
+	 */
43 46
 	public function processResults(Ranking $ranking, $factions, $factionRankingManager)
44 47
 	{
45 48
 		#---------------- COMPUTING -------------------#
@@ -193,6 +196,9 @@  discard block
 block discarded – undo
193 196
 		$this->results[$faction->getId()]['wealth'] = $income;
194 197
 	}
195 198
 	
199
+	/**
200
+	 * @param Color $faction
201
+	 */
196 202
 	protected function calculateTerritorialRanking($faction, $sectors)
197 203
 	{
198 204
 		foreach ($sectors as $sector) {
@@ -230,6 +236,9 @@  discard block
 block discarded – undo
230 236
 		return ($a['points'] > $b['points']) ? -1 : 1;
231 237
 	}
232 238
 
239
+	/**
240
+	 * @param string $attribute
241
+	 */
233 242
 	protected function setPositions($list, $attribute) {
234 243
 		$position = 1;
235 244
 		$index = 1;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Asylamba\Modules\Atlas\Model\Ranking;
6 6
 use Asylamba\Modules\Atlas\Model\FactionRanking;
7 7
 use Asylamba\Modules\Demeter\Model\Color;
8
-
9 8
 use Asylamba\Classes\Library\Utils;
10 9
 
11 10
 class FactionRoutine
Please login to merge, or discard this patch.
system/Modules/Atlas/Routine/PlayerRoutine.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,14 +5,10 @@
 block discarded – undo
5 5
 use Asylamba\Modules\Athena\Helper\OrbitalBaseHelper;
6 6
 use Asylamba\Modules\Athena\Resource\OrbitalBaseResource;
7 7
 use Asylamba\Classes\Library\Game;
8
-
9 8
 use Asylamba\Modules\Athena\Resource\ShipResource;
10
-
11 9
 use Asylamba\Classes\Library\DataAnalysis;
12
-
13 10
 use Asylamba\Modules\Atlas\Manager\PlayerRankingManager;
14 11
 use Asylamba\Modules\Atlas\Repository\PlayerRankingRepository;
15
-
16 12
 use Asylamba\Modules\Atlas\Model\Ranking;
17 13
 use Asylamba\Modules\Atlas\Model\PlayerRanking;
18 14
 
Please login to merge, or discard this patch.
system/Modules/Gaia/Manager/PlaceManager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@
 block discarded – undo
163 163
 		$this->entityManager->clear(Place::class);
164 164
 	}
165 165
 	
166
+	/**
167
+	 * @param integer $playerId
168
+	 */
166 169
 	public function turnAsSpawnPlace($placeId, $playerId)
167 170
 	{
168 171
 		$this->eventDispatcher->dispatch(new PlaceOwnerChangeEvent($this->get($placeId)));
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -15,15 +15,12 @@
 block discarded – undo
15 15
 use Asylamba\Classes\Library\Utils;
16 16
 use Asylamba\Classes\Library\Game;
17 17
 use Asylamba\Classes\Library\Format;
18
-
19 18
 use Asylamba\Modules\Hermes\Manager\NotificationManager;
20
-
21 19
 use Asylamba\Modules\Gaia\Model\Place;
22 20
 use Asylamba\Modules\Ares\Model\Commander;
23 21
 use Asylamba\Modules\Ares\Model\Report;
24 22
 use Asylamba\Modules\Hermes\Model\Notification;
25 23
 use Asylamba\Modules\Gaia\Model\System;
26
-
27 24
 use Asylamba\Modules\Gaia\Event\PlaceOwnerChangeEvent;
28 25
 use Asylamba\Classes\Worker\EventDispatcher;
29 26
 
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/RecyclingLogManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Asylamba\Modules\Athena\Manager;
13 13
 
14 14
 use Asylamba\Classes\Entity\EntityManager;
15
-
16 15
 use Asylamba\Modules\Athena\Model\RecyclingLog;
17 16
 
18 17
 class RecyclingLogManager {
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/RecyclingMissionManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Asylamba\Classes\Entity\EntityManager;
15 15
 use Asylamba\Classes\Scheduler\RealTimeActionScheduler;
16
-
17 16
 use Asylamba\Modules\Athena\Model\RecyclingMission;
18 17
 
19 18
 class RecyclingMissionManager
Please login to merge, or discard this patch.
system/Classes/Daemon/ClientManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 	
94 94
 	/**
95 95
 	 * @param int $playerId
96
-	 * @return Session
96
+	 * @return null|\Asylamba\Classes\Library\Session\Session
97 97
 	 */
98 98
 	public function getSessionByPlayerId($playerId)
99 99
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Asylamba\Classes\Daemon;
4 4
 
5 5
 use Asylamba\Classes\Daemon\Client;
6
-
7 6
 use Asylamba\Classes\Redis\RedisManager;
8 7
 use Asylamba\Classes\Library\Session\SessionWrapper;
9
-
10 8
 use Asylamba\Classes\Library\Http\Request;
11 9
 
12 10
 class ClientManager
Please login to merge, or discard this patch.
system/Classes/EventListener/ProcessExceptionListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace Asylamba\Classes\EventListener;
4 4
 
5 5
 use Asylamba\Classes\Logger\AbstractLogger;
6
-
7 6
 use Asylamba\Classes\Event\ProcessExceptionEvent;
8 7
 use Asylamba\Classes\Event\ProcessErrorEvent;
9
-
10 8
 use Asylamba\Classes\Process\ProcessGateway;
11
-
12 9
 use Asylamba\Classes\Database\Database;
13 10
 
14 11
 class ProcessExceptionListener {
Please login to merge, or discard this patch.