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 (#123)
by
unknown
07:27
created
system/Modules/Gaia/EventListener/SystemListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Asylamba\Modules\Gaia\Manager\SystemManager;
6 6
 use Asylamba\Modules\Zeus\Manager\PlayerManager;
7 7
 use Asylamba\Modules\Athena\Manager\OrbitalBaseManager;
8
-
9 8
 use Asylamba\Classes\Entity\EntityManager;
10
-
11 9
 use Asylamba\Modules\Gaia\Event\PlaceOwnerChangeEvent;
12 10
 
13 11
 class SystemListener
Please login to merge, or discard this patch.
system/Modules/Gaia/Helper/ActionHelper.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,13 +5,10 @@
 block discarded – undo
5 5
 use Asylamba\Classes\Library\Chronos;
6 6
 use Asylamba\Classes\Library\Game;
7 7
 use Asylamba\Classes\Library\Format;
8
-
9 8
 use Asylamba\Modules\Promethee\Model\Technology;
10
-
11 9
 use Asylamba\Modules\Promethee\Resource\TechnologyResource;
12 10
 use Asylamba\Modules\Athena\Resource\OrbitalBaseResource;
13 11
 use Asylamba\Modules\Athena\Helper\OrbitalBaseHelper;
14
-
15 12
 use Asylamba\Modules\Ares\Manager\CommanderManager;
16 13
 use Asylamba\Modules\Athena\Manager\CommercialRouteManager;
17 14
 use Asylamba\Classes\Library\Session\SessionWrapper;
Please login to merge, or discard this patch.
system/Modules/Gaia/Helper/GalaxyGenerator.php 2 patches
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@  discard block
 block discarded – undo
133 133
 		return $rt;
134 134
 	}
135 135
 
136
+	/**
137
+	 * @param string $text
138
+	 */
136 139
 	private function log($text) {
137 140
 		$this->output .= ">_ $text <br />";
138 141
 	}
@@ -456,6 +459,9 @@  discard block
 block discarded – undo
456 459
 		}
457 460
 	}
458 461
 
462
+	/**
463
+	 * @param double $d2o
464
+	 */
459 465
 	protected function isPointInMap($d2o) {
460 466
 		$mask = rand(1, $this->galaxyConfiguration->galaxy['mask']);
461 467
 
@@ -481,6 +487,10 @@  discard block
 block discarded – undo
481 487
 		return (pow($x1 - $y1, 2) + pow($x2 - $y2, 2));
482 488
 	}
483 489
 
490
+	/**
491
+	 * @param integer $p1
492
+	 * @param integer $p2
493
+	 */
484 494
 	protected function distToSegment($p1, $p2, $v1, $v2, $w1, $w2) {
485 495
 		$l2 = $this->l2p($v1, $v2, $w1, $w2);
486 496
 
@@ -504,6 +514,9 @@  discard block
 block discarded – undo
504 514
 		return sqrt($this->l2p($p1, $p2, $tx, $ty));
505 515
 	}
506 516
 
517
+	/**
518
+	 * @param integer $value
519
+	 */
507 520
 	protected function getProportion($params, $value) {
508 521
 		$cursor	= 0;
509 522
 		$type 	= 0;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Asylamba\Classes\Database\DatabaseAdmin;
6 6
 use Asylamba\Classes\Library\Utils;
7
-
8 7
 use Asylamba\Modules\Gaia\Galaxy\GalaxyConfiguration;
9
-
10 8
 use Asylamba\Modules\Gaia\Model\PointLocation;
11 9
 use Asylamba\Modules\Gaia\Model\Place;
12 10
 use Asylamba\Classes\Library\Format;
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.