Completed
Push — master ( 2a3483...c07a8d )
by De Cramer
02:05 queued 02:03
created
src/eXpansion/Framework/Core/Storage/GameDataStorage.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @param Systeminfos $systemInfo
185
+     * @param SystemInfos $systemInfo
186 186
      */
187 187
     public function setSystemInfo(Systeminfos $systemInfo)
188 188
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $this->serverCleanPhpVersion = $version[0];
82 82
         $this->serverMajorPhpVersion = implode(
83 83
             '.',
84
-            array_slice(explode('.', $this->serverCleanPhpVersion),0,2)
84
+            array_slice(explode('.', $this->serverCleanPhpVersion), 0, 2)
85 85
         );
86 86
     }
87 87
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
                 $size = strlen($mlData['ml']);
151 151
             }
152 152
 
153
-            $logins = array_filter($mlData['logins'], function($value) { return $value != '';});
153
+            $logins = array_filter($mlData['logins'], function($value) { return $value != ''; });
154 154
             if (!empty($logins)) {
155 155
                 $this->connection->sendDisplayManialinkPage(
156 156
                     $mlData['logins'],
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/Analytics.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -98,15 +98,15 @@  discard block
 block discarded – undo
98 98
      */
99 99
     protected function handshake()
100 100
     {
101
-        $key =        &$this->key;
102
-        $lastPing =   &$this->lastPing;
101
+        $key = &$this->key;
102
+        $lastPing = &$this->lastPing;
103 103
         $that = $this;
104 104
         $logger = $this->logger;
105 105
 
106 106
         $query = http_build_query(
107 107
             ['page' => 'handshake', 'server-login' => $this->gameData->getSystemInfo()->serverLogin]
108 108
         );
109
-        $url = $this->url . '?' . $query;
109
+        $url = $this->url.'?'.$query;
110 110
 
111 111
         $lastPing = time();
112 112
         $this->logger->debug("[eXpansion analytics]Starting handshake");
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
         $this->http->get(
116 116
             $url,
117
-            function (HttpResult $result) use (&$key, &$lastPing, $logger, $that) {
117
+            function(HttpResult $result) use (&$key, &$lastPing, $logger, $that) {
118 118
                 $key = null;
119 119
 
120 120
                 if ($result->getHttpCode() != '200') {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $query = http_build_query(
158 158
             $data
159 159
         );
160
-        $url = $this->url . '?' . $query;
160
+        $url = $this->url.'?'.$query;
161 161
 
162 162
         $this->operationInProgress = true;
163 163
         $this->lastPing = time();
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         $logger->debug('[eXpansion analytics]Starting ping');
169 169
         $this->http->get(
170 170
             $url,
171
-            function (HttpResult $result) use (&$operationInProgress, &$key, $logger) {
171
+            function(HttpResult $result) use (&$operationInProgress, &$key, $logger) {
172 172
                 if ($result->getHttpCode() == '200') {
173 173
                     $operationInProgress = false;
174 174
                     $logger->debug('[eXpansion analytics]Ping successfull');
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             'memory' => memory_get_usage(),
199 199
             'memory_peak' => memory_get_peak_usage(),
200 200
             'build' => '',
201
-            'title' => str_replace('@','_by_', $this->gameData->getVersion()->titleId),
201
+            'title' => str_replace('@', '_by_', $this->gameData->getVersion()->titleId),
202 202
             'game' => $this->gameData->getTitle(),
203 203
             'mode' => $this->gameData->getGameInfos()->scriptName,
204 204
             'serverOs' => $this->gameData->getServerOs(),
Please login to merge, or discard this patch.