Passed
Pull Request — v3 (#594)
by
unknown
07:08
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   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -38,18 +38,18 @@
 block discarded – undo
38 38
      * @var array
39 39
      */
40 40
     protected $dlcNames = [
41
-        'bb26feb'  => 'Art of War',         // aow
41
+        'bb26feb'  => 'Art of War', // aow
42 42
         'c3ba4c1'  => 'Contact (Platform)', // enoch
43
-        '6b26ff75' => 'Tanks',              // tank
44
-        '8646e5fd' => 'Tac-Ops',            // tacops
45
-        '630e5234' => 'Laws of War',        // orange
46
-        '3b10ba25' => 'Malden',             // argo
47
-        'd0356eec' => 'Jets',               // jets
48
-        '19984a71' => 'Apex',               // expansion
49
-        '7fb4b1f3' => 'Marksmen',           // mark
50
-        '456e1ae6' => 'Helicopters',        // heli
51
-        '7e766e18' => 'Karts',              // kart
52
-        '99d71f90' => 'Zeus',               // curator
43
+        '6b26ff75' => 'Tanks', // tank
44
+        '8646e5fd' => 'Tac-Ops', // tacops
45
+        '630e5234' => 'Laws of War', // orange
46
+        '3b10ba25' => 'Malden', // argo
47
+        'd0356eec' => 'Jets', // jets
48
+        '19984a71' => 'Apex', // expansion
49
+        '7fb4b1f3' => 'Marksmen', // mark
50
+        '456e1ae6' => 'Helicopters', // heli
51
+        '7e766e18' => 'Karts', // kart
52
+        '99d71f90' => 'Zeus', // curator
53 53
     ];
54 54
 
55 55
     /**
Please login to merge, or discard this patch.