Completed
Pull Request — v3 (#296)
by
unknown
04:12
created
src/GameQ/Protocols/Ut3.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 
19 19
 namespace GameQ\Protocols;
20 20
 
21
-use GameQ\Buffer;
22 21
 use GameQ\Result;
23 22
 
24 23
 /**
Please login to merge, or discard this patch.
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ;
20 20
 
Please login to merge, or discard this patch.
src/GameQ/Protocol.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- *
18
- *
19
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     *
18
+     *
19
+     */
20 20
 
21 21
 namespace GameQ;
22 22
 
Please login to merge, or discard this patch.
src/GameQ/Protocols/Samp.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ\Protocols;
20 20
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
         // Build the server code
122 122
         $this->server_code = implode('', array_map('chr', explode('.', $server->ip()))) .
123
-                             pack("S", $server->portClient());
123
+                                pack("S", $server->portClient());
124 124
 
125 125
         // Loop over the packets and update them
126 126
         foreach ($this->packets as $packetType => $packet) {
Please login to merge, or discard this patch.
src/GameQ/Protocols/Ship.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ\Protocols;
20 20
 
Please login to merge, or discard this patch.
src/GameQ/Server.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ;
20 20
 
Please login to merge, or discard this patch.
src/GameQ/Buffer.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- *
18
- *
19
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     *
18
+     *
19
+     */
20 20
 
21 21
 namespace GameQ;
22 22
 
Please login to merge, or discard this patch.
src/GameQ/Exception/Protocol.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- *
18
- *
19
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     *
18
+     *
19
+     */
20 20
 
21 21
 namespace GameQ;
22 22
 
Please login to merge, or discard this patch.
src/GameQ/Filters/Normalize.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ;
20 20
 
Please login to merge, or discard this patch.
src/GameQ/Filters/Test.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GameQ.
4
- *
5
- * GameQ is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU Lesser General Public License as published by
7
- * the Free Software Foundation; either version 3 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * GameQ is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
- * GNU Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public License
16
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
- */
3
+     * This file is part of GameQ.
4
+     *
5
+     * GameQ is free software; you can redistribute it and/or modify
6
+     * it under the terms of the GNU Lesser General Public License as published by
7
+     * the Free Software Foundation; either version 3 of the License, or
8
+     * (at your option) any later version.
9
+     *
10
+     * GameQ is distributed in the hope that it will be useful,
11
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
+     * GNU Lesser General Public License for more details.
14
+     *
15
+     * You should have received a copy of the GNU Lesser General Public License
16
+     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
+     */
18 18
 
19 19
 namespace GameQ;
20 20
 
Please login to merge, or discard this patch.