Completed
Push — master ( 220ce5...be682d )
by
unknown
17s
created
src/eXpansion/Bundle/MxKarma/Plugins/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
      */
239 239
     public function getObject($data)
240 240
     {
241
-        $obj = (object)json_decode($data);
241
+        $obj = (object) json_decode($data);
242 242
         if ($obj->success === false) {
243 243
             $this->handleErrors($obj);
244 244
 
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/Bundle/Maps/Plugins/Gui/ManiaExchangeWindowFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace eXpansion\Bundle\Maps\Plugins\Gui;
4 4
 
5
-use eXpansion\Bundle\Maps\Plugins\Jukebox;
6 5
 use eXpansion\Bundle\Maps\Plugins\ManiaExchange;
7 6
 use eXpansion\Bundle\Maps\Structure\MxInfo;
8 7
 use eXpansion\Framework\Core\Helpers\Http;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
      */
315 315
     public function callbackSearch($login, $params)
316 316
     {
317
-        $params = (object)$params;
317
+        $params = (object) $params;
318 318
 
319 319
         $this->modebox->setSelectedByValue($params->mode);
320 320
         $this->orderbox->setSelectedByValue($params->order);
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.