Passed
Pull Request — v3 (#594)
by
unknown
07:26
created
src/GameQ/Protocols/Cs2d.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -192,12 +192,12 @@
 block discarded – undo
192 192
         $serverFlags = $buffer->readInt8();
193 193
 
194 194
         // Read server flags
195
-        $result->add('password', (int)$this->readFlag($serverFlags, 0));
196
-        $result->add('registered_only', (int)$this->readFlag($serverFlags, 1));
197
-        $result->add('fog_of_war', (int)$this->readFlag($serverFlags, 2));
198
-        $result->add('friendly_fire', (int)$this->readFlag($serverFlags, 3));
199
-        $result->add('bots_enabled', (int)$this->readFlag($serverFlags, 5));
200
-        $result->add('lua_scripts', (int)$this->readFlag($serverFlags, 6));
195
+        $result->add('password', (int) $this->readFlag($serverFlags, 0));
196
+        $result->add('registered_only', (int) $this->readFlag($serverFlags, 1));
197
+        $result->add('fog_of_war', (int) $this->readFlag($serverFlags, 2));
198
+        $result->add('friendly_fire', (int) $this->readFlag($serverFlags, 3));
199
+        $result->add('bots_enabled', (int) $this->readFlag($serverFlags, 5));
200
+        $result->add('lua_scripts', (int) $this->readFlag($serverFlags, 6));
201 201
 
202 202
         // Read the rest of the buffer data
203 203
         $result->add('servername', utf8_encode($buffer->readPascalString(0)));
Please login to merge, or discard this patch.
src/GameQ/Protocols/Gtar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
             throw new Exception("JSON response from Gtar protocol is invalid.");
136 136
         }
137 137
 
138
-        $address = $this->realIp.':'.$this->realPortQuery;
138
+        $address = $this->realIp . ':' . $this->realPortQuery;
139 139
         $server = $json->$address;
140 140
 
141 141
         if (empty($server)) {
Please login to merge, or discard this patch.
src/GameQ/Protocols/Arma3.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -40,24 +40,24 @@
 block discarded – undo
40 40
      */
41 41
     protected $dlcNames = [
42 42
         // Base DLC
43
-        'bb26feb'  => 'Art of War',         // aow
43
+        'bb26feb'  => 'Art of War', // aow
44 44
         'c3ba4c1'  => 'Contact (Platform)', // enoch
45
-        '6b26ff75' => 'Tanks',              // tank
46
-        '8646e5fd' => 'Tac-Ops',            // tacops
47
-        '630e5234' => 'Laws of War',        // orange
48
-        '3b10ba25' => 'Malden',             // argo
49
-        'd0356eec' => 'Jets',               // jets
50
-        '19984a71' => 'Apex',               // expansion
51
-        '7fb4b1f3' => 'Marksmen',           // mark
52
-        '456e1ae6' => 'Helicopters',        // heli
53
-        '7e766e18' => 'Karts',              // kart
54
-        '99d71f90' => 'Zeus',               // curator
45
+        '6b26ff75' => 'Tanks', // tank
46
+        '8646e5fd' => 'Tac-Ops', // tacops
47
+        '630e5234' => 'Laws of War', // orange
48
+        '3b10ba25' => 'Malden', // argo
49
+        'd0356eec' => 'Jets', // jets
50
+        '19984a71' => 'Apex', // expansion
51
+        '7fb4b1f3' => 'Marksmen', // mark
52
+        '456e1ae6' => 'Helicopters', // heli
53
+        '7e766e18' => 'Karts', // kart
54
+        '99d71f90' => 'Zeus', // curator
55 55
 
56 56
         // Creator DLC
57 57
         '6e39b4d'  => 'ČSLA - Iron Curtain', // csla
58 58
         '4cec2195' => 'Global Mobilization', // gm
59 59
         '60950c6e' => 'S.O.G. Prairie Fire', // vn
60
-        'e57a25d'  => 'Western Sahara',     // ws
60
+        'e57a25d'  => 'Western Sahara', // ws
61 61
     ];
62 62
 
63 63
     /**
Please login to merge, or discard this patch.