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 (#100)
by Axel
16:33
created
system/Modules/Gaia/Manager/PlaceManager.php 1 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\Classes\Worker\EventDispatcher;
28 25
 
29 26
 class PlaceManager {
Please login to merge, or discard this patch.
system/Modules/Gaia/Manager/SectorManager.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\Gaia\Manager;
13 13
 
14 14
 use Asylamba\Classes\Entity\EntityManager;
15
-
16 15
 use Asylamba\Modules\Gaia\Model\Sector;
17 16
 
18 17
 class SectorManager {
Please login to merge, or discard this patch.
system/Modules/Gaia/Manager/SystemManager.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\Gaia\Manager;
13 13
 
14 14
 use Asylamba\Classes\Entity\EntityManager;
15
-
16 15
 use Asylamba\Modules\Gaia\Model\System;
17 16
 
18 17
 class SystemManager {
Please login to merge, or discard this patch.
system/Modules/Hermes/Manager/ConversationManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use Asylamba\Classes\Worker\Manager;
6 6
 use Asylamba\Classes\Library\Utils;
7 7
 use Asylamba\Classes\Database\Database;
8
-use Asylamba\Classes\Worker\ASM;
9
-
10 8
 use Asylamba\Modules\Hermes\Model\Conversation;
11 9
 
12 10
 class ConversationManager extends Manager {
Please login to merge, or discard this patch.
system/Modules/Hermes/Manager/NotificationManager.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -46,6 +46,11 @@
 block discarded – undo
46 46
 		return $this->entityManager->getRepository(Notification::class)->getAllByReadState($isReaded);
47 47
 	}
48 48
 
49
+	/**
50
+	 * @param integer $commanderPlayerId
51
+	 * @param integer $placePlayerId
52
+	 * @param string $arrivedAt
53
+	 */
49 54
 	public function patchForMultiCombats($commanderPlayerId, $placePlayerId, $arrivedAt)
50 55
 	{
51 56
 		$notifications = $this
Please login to merge, or discard this patch.
system/Modules/Promethee/Helper/ResearchHelper.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -26,6 +26,10 @@  discard block
 block discarded – undo
26 26
 		return in_array($research, ResearchResource::$availableResearch);
27 27
 	}
28 28
 
29
+	/**
30
+	 * @param integer $research
31
+	 * @param string $info
32
+	 */
29 33
 	public function getInfo($research, $info, $level = 0, $sup = 'delfault') {
30 34
 		if ($this->isAResearch($research)) {
31 35
 			if ($info == 'name' || $info == 'codeName') {
@@ -46,6 +50,10 @@  discard block
 block discarded – undo
46 50
 		return FALSE;
47 51
 	}
48 52
 
53
+	/**
54
+	 * @param integer $firstLevel
55
+	 * @param integer $secondLevel
56
+	 */
49 57
 	public function isResearchPermit($firstLevel, $secondLevel, $thirdLevel = -1) {
50 58
 		// compare the levels of technos and say if you can research such techno
51 59
 		if ($thirdLevel == -1) {
@@ -65,6 +73,9 @@  discard block
 block discarded – undo
65 73
 		}
66 74
 	}
67 75
 
76
+	/**
77
+	 * @param integer $level
78
+	 */
68 79
 	private function researchPrice($research, $level) {
69 80
 		switch ($research) {
70 81
 			case 0 :
Please login to merge, or discard this patch.
system/Modules/Promethee/Helper/TechnologyHelper.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
 		return in_array($techno, TechnologyResource::$technologiesNotDisplayed);
45 45
 	}
46 46
 
47
+	/**
48
+	 * @param string $info
49
+	 */
47 50
 	public function getInfo($techno, $info, $level = 0) {
48 51
 		if ($this->isATechnology($techno)) {
49 52
 			if ($this->isAnUnblockingTechnology($techno)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Asylamba\Classes\Container\ArrayList;
10 10
 use Asylamba\Modules\Promethee\Model\Technology;
11 11
 use Asylamba\Modules\Promethee\Resource\TechnologyResource;
12
-
13 12
 use Asylamba\Classes\Exception\ErrorException;
14 13
 
15 14
 class TechnologyHelper {
Please login to merge, or discard this patch.
system/Modules/Promethee/Manager/ResearchManager.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -195,6 +195,13 @@
 block discarded – undo
195 195
 		}
196 196
 	}
197 197
 
198
+	/**
199
+	 * @param integer $playerId
200
+	 * @param double $naturalInvest
201
+	 * @param double $lifeInvest
202
+	 * @param double $socialInvest
203
+	 * @param double $informaticInvest
204
+	 */
198 205
 	public function update(Research $research, $playerId, $naturalInvest, $lifeInvest, $socialInvest, $informaticInvest) {
199 206
 		# prestige
200 207
 		$player = $this->playerManager->get($playerId);
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -16,15 +16,12 @@
 block discarded – undo
16 16
 use Asylamba\Classes\Database\Database;
17 17
 use Asylamba\Classes\Library\Utils;
18 18
 use Asylamba\Classes\Container\StackList;
19
-
20 19
 use Asylamba\Modules\Promethee\Model\Research;
21
-
22 20
 use Asylamba\Modules\Zeus\Manager\PlayerManager;
23 21
 use Asylamba\Modules\Hermes\Manager\NotificationManager;
24 22
 use Asylamba\Modules\Promethee\Helper\ResearchHelper;
25 23
 use Asylamba\Modules\Hermes\Model\Notification;
26 24
 use Asylamba\Modules\Demeter\Resource\ColorResource;
27
-
28 25
 use Asylamba\Classes\Exception\ErrorException;
29 26
 
30 27
 class ResearchManager extends Manager {
Please login to merge, or discard this patch.
system/Modules/Promethee/Manager/TechnologyManager.php 2 patches
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -82,6 +82,11 @@  discard block
 block discarded – undo
82 82
 		}
83 83
 	}
84 84
 
85
+	/**
86
+	 * @param integer $playerId
87
+	 * @param integer $technology
88
+	 * @param string $level
89
+	 */
85 90
 	public function addTech($playerId, $technology, $level) {
86 91
 		$statement = $this->database->prepare('INSERT INTO technology(rPlayer, technology, level) VALUES(:player_id, :technology, :level)');
87 92
 		return $statement->execute([
@@ -91,6 +96,11 @@  discard block
 block discarded – undo
91 96
 		]);
92 97
 	}
93 98
 
99
+	/**
100
+	 * @param integer $playerId
101
+	 * @param integer $technology
102
+	 * @param string $level
103
+	 */
94 104
 	public function updateTech($playerId, $technology, $level) {
95 105
 		$statement = $this->database->prepare('UPDATE technology SET level = :level WHERE rPlayer = :player_id AND technology = :technology');
96 106
 		return $statement->execute([
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Asylamba\Modules\Promethee\Manager;
4 4
 
5 5
 use Asylamba\Modules\Promethee\Model\Technology;
6
-
7 6
 use Asylamba\Classes\Database\Database;
8 7
 use Asylamba\Modules\Zeus\Manager\PlayerBonusManager;
9 8
 use Asylamba\Modules\Promethee\Helper\TechnologyHelper;
10
-
11 9
 use Asylamba\Modules\Zeus\Model\Player;
12 10
 
13 11
 class TechnologyManager {
Please login to merge, or discard this patch.