Completed
Push — master ( 230a11...24b501 )
by
unknown
13s
created
GameManiaplanet/DataProviders/Listener/ListenerInterfaceMpScriptMatch.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -92,14 +92,14 @@
 block discarded – undo
92 92
      */
93 93
     public function onEndTurnEnd($count, $time);
94 94
 
95
-     /**
96
-     * Callback sent when the "StartRound" section start.
97
-     *
98
-     * @param int $count Each time this section is played, this number is incremented by one
99
-     * @param int $time  Server time when the callback was sent
100
-     *
101
-     * @return mixed
102
-     */
95
+        /**
96
+         * Callback sent when the "StartRound" section start.
97
+         *
98
+         * @param int $count Each time this section is played, this number is incremented by one
99
+         * @param int $time  Server time when the callback was sent
100
+         *
101
+         * @return mixed
102
+         */
103 103
     public function onStartRoundStart($count, $time);
104 104
 
105 105
     /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Helpers/Structures/HttpRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function __toString()
32 32
     {
33
-        return (string)$this->response['response'];
33
+        return (string) $this->response['response'];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Storage/MapStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function getMap($uid)
54 54
     {
55
-        return AssociativeArray::getFromKey($this->maps, $uid,  new Map());
55
+        return AssociativeArray::getFromKey($this->maps, $uid, new Map());
56 56
     }
57 57
 
58 58
     /**
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function getMapByIndex($index)
66 66
     {
67
-        $map = array_slice($this->maps, (int)$index, 1, false);
67
+        $map = array_slice($this->maps, (int) $index, 1, false);
68 68
 
69 69
         return end($map);
70 70
     }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/MxKarma/Plugins/MxKarma.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         PlayerStorage $playerStorage
80 80
     ) {
81 81
 
82
-        $this->config = (object)Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters'];
82
+        $this->config = (object) Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters'];
83 83
         $this->console = $console;
84 84
         $this->dispatcher = $dispatcher;
85 85
         $this->chatNotification = $chatNotification;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             "vote" => $vote,
98 98
         ];
99 99
 
100
-        $this->changedVotes[$player->getLogin()] = new MxVote((object)$obj);
100
+        $this->changedVotes[$player->getLogin()] = new MxVote((object) $obj);
101 101
         $this->chatNotification->sendMessage('expansion_mxkarma.chat.votechanged', $login);
102 102
     }
103 103
 
Please login to merge, or discard this patch.
src/eXpansion/Bundle/MxKarma/Entity/MxVote.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
     public function __construct($obj)
16 16
     {
17 17
         $this->login = $obj->login;
18
-        $this->vote = (int)$obj->vote;
18
+        $this->vote = (int) $obj->vote;
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Helpers/JobRunner/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $curlJob->setUrl($url);
45 45
         $curlJob->setOptions($options);
46 46
         if (is_object($parameters)) {
47
-            $parameters = (array)$parameters;
47
+            $parameters = (array) $parameters;
48 48
         }
49 49
         $curlJob->setParameters($parameters);
50 50
         $curlJob->setAdditionalData($additionalData);
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/AdminCommand.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12
-use Symfony\Component\Console\Input\InputArgument;
13 11
 use Symfony\Component\Console\Input\InputInterface;
14 12
 
15 13
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@
 block discarded – undo
79 79
             $timeHelper
80 80
         );
81 81
 
82
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
83
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
82
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
83
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
84 84
         $this->functionName = $functionName;
85 85
     }
86 86
 
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/OneParameterCommand.php 3 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,6 @@
 block discarded – undo
54 54
      * @param $command
55 55
      * @param string $permission
56 56
      * @param array $aliases
57
-     * @param AdminGroups $description
58
-     * @param Connection $chatMessage
59 57
      * @param ChatNotification $functionName
60 58
      * @param PlayerStorage $parameterDescription
61 59
      * @param AdminGroups $adminGroupsHelper
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12 11
 use Symfony\Component\Console\Input\InputArgument;
13 12
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@
 block discarded – undo
90 90
             $timeHelper
91 91
         );
92 92
 
93
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
94
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
93
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
94
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
95 95
         $this->functionName = $functionName;
96 96
         $this->parameterDescription = $parameterDescription;
97 97
     }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/AdminChat/ChatCommand/ReasonUserCommand.php 3 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,6 @@
 block discarded – undo
62 62
      * @param $command
63 63
      * @param string $permission
64 64
      * @param array $aliases
65
-     * @param AdminGroups $description
66
-     * @param Connection $chatMessage
67 65
      * @param ChatNotification $functionName
68 66
      * @param PlayerStorage $parameterLoginDescription
69 67
      * @param LoggerInterface $parameterReasonDescription
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,8 @@
 block discarded – undo
100 100
             $timeHelper
101 101
         );
102 102
 
103
-        $this->description = 'expansion_admin_chat.' . strtolower($functionName) . '.description';
104
-        $this->chatMessage = 'expansion_admin_chat.' . strtolower($functionName) . '.msg';
103
+        $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description';
104
+        $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg';
105 105
         $this->functionName = $functionName;
106 106
         $this->parameterLoginDescription = $parameterLoginDescription;
107 107
         $this->parameterReasonDescription = $parameterReasonDescription;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use eXpansion\Framework\Core\Helpers\Time;
8 8
 use eXpansion\Framework\Core\Storage\PlayerStorage;
9 9
 use Maniaplanet\DedicatedServer\Connection;
10
-use Monolog\Logger;
11 10
 use Psr\Log\LoggerInterface;
12 11
 use Symfony\Component\Console\Input\InputArgument;
13 12
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.