Completed
Push — master ( fb2e0c...c99d2e )
by Michael
03:02
created
lib/EveApi/Eve/ErrorList.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,36 +1,36 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains ErrorList class.
4
- *
5
- * PHP version 5.4
6
- *
7
- * LICENSE:
8
- * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
- * which can be used to access the Eve Online API data and place it into a
10
- * database.
11
- * Copyright (C) 2016 Michael Cummings
12
- *
13
- * This program is free software: you can redistribute it and/or modify it
14
- * under the terms of the GNU Lesser General Public License as published by the
15
- * Free Software Foundation, either version 3 of the License, or (at your
16
- * option) any later version.
17
- *
18
- * This program is distributed in the hope that it will be useful, but WITHOUT
19
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
- * for more details.
22
- *
23
- * You should have received a copy of the GNU Lesser General Public License
24
- * along with this program. If not, see
25
- * <http://www.gnu.org/licenses/>.
26
- *
27
- * You should be able to find a copy of this license in the LICENSE.md file. A
28
- * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
- *
30
- * @copyright 2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains ErrorList class.
4
+     *
5
+     * PHP version 5.4
6
+     *
7
+     * LICENSE:
8
+     * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
+     * which can be used to access the Eve Online API data and place it into a
10
+     * database.
11
+     * Copyright (C) 2016 Michael Cummings
12
+     *
13
+     * This program is free software: you can redistribute it and/or modify it
14
+     * under the terms of the GNU Lesser General Public License as published by the
15
+     * Free Software Foundation, either version 3 of the License, or (at your
16
+     * option) any later version.
17
+     *
18
+     * This program is distributed in the hope that it will be useful, but WITHOUT
19
+     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
+     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
+     * for more details.
22
+     *
23
+     * You should have received a copy of the GNU Lesser General Public License
24
+     * along with this program. If not, see
25
+     * <http://www.gnu.org/licenses/>.
26
+     *
27
+     * You should be able to find a copy of this license in the LICENSE.md file. A
28
+     * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
+     *
30
+     * @copyright 2016 Michael Cummings
31
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
+     * @author    Michael Cummings <[email protected]>
33
+     */
34 34
 namespace Yapeal\EveApi\Eve;
35 35
 
36 36
 use PDOException;
Please login to merge, or discard this patch.
lib/EveApi/Eve/RefTypes.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,36 +1,36 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains RefTypes class.
4
- *
5
- * PHP version 5.4
6
- *
7
- * LICENSE:
8
- * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
- * which can be used to access the Eve Online API data and place it into a
10
- * database.
11
- * Copyright (C) 2016 Michael Cummings
12
- *
13
- * This program is free software: you can redistribute it and/or modify it
14
- * under the terms of the GNU Lesser General Public License as published by the
15
- * Free Software Foundation, either version 3 of the License, or (at your
16
- * option) any later version.
17
- *
18
- * This program is distributed in the hope that it will be useful, but WITHOUT
19
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
- * for more details.
22
- *
23
- * You should have received a copy of the GNU Lesser General Public License
24
- * along with this program. If not, see
25
- * <http://www.gnu.org/licenses/>.
26
- *
27
- * You should be able to find a copy of this license in the LICENSE.md file. A
28
- * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
- *
30
- * @copyright 2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains RefTypes class.
4
+     *
5
+     * PHP version 5.4
6
+     *
7
+     * LICENSE:
8
+     * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
+     * which can be used to access the Eve Online API data and place it into a
10
+     * database.
11
+     * Copyright (C) 2016 Michael Cummings
12
+     *
13
+     * This program is free software: you can redistribute it and/or modify it
14
+     * under the terms of the GNU Lesser General Public License as published by the
15
+     * Free Software Foundation, either version 3 of the License, or (at your
16
+     * option) any later version.
17
+     *
18
+     * This program is distributed in the hope that it will be useful, but WITHOUT
19
+     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
+     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
+     * for more details.
22
+     *
23
+     * You should have received a copy of the GNU Lesser General Public License
24
+     * along with this program. If not, see
25
+     * <http://www.gnu.org/licenses/>.
26
+     *
27
+     * You should be able to find a copy of this license in the LICENSE.md file. A
28
+     * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
+     *
30
+     * @copyright 2016 Michael Cummings
31
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
+     * @author    Michael Cummings <[email protected]>
33
+     */
34 34
 namespace Yapeal\EveApi\Eve;
35 35
 
36 36
 use PDOException;
Please login to merge, or discard this patch.
lib/EveApi/Server/ServerStatus.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,36 +1,36 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains ServerStatus class.
4
- *
5
- * PHP version 5.4
6
- *
7
- * LICENSE:
8
- * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
- * which can be used to access the Eve Online API data and place it into a
10
- * database.
11
- * Copyright (C) 2016 Michael Cummings
12
- *
13
- * This program is free software: you can redistribute it and/or modify it
14
- * under the terms of the GNU Lesser General Public License as published by the
15
- * Free Software Foundation, either version 3 of the License, or (at your
16
- * option) any later version.
17
- *
18
- * This program is distributed in the hope that it will be useful, but WITHOUT
19
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
- * for more details.
22
- *
23
- * You should have received a copy of the GNU Lesser General Public License
24
- * along with this program. If not, see
25
- * <http://www.gnu.org/licenses/>.
26
- *
27
- * You should be able to find a copy of this license in the LICENSE.md file. A
28
- * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
- *
30
- * @copyright 2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains ServerStatus class.
4
+     *
5
+     * PHP version 5.4
6
+     *
7
+     * LICENSE:
8
+     * This file is part of Yet Another Php Eve Api Library also know as Yapeal
9
+     * which can be used to access the Eve Online API data and place it into a
10
+     * database.
11
+     * Copyright (C) 2016 Michael Cummings
12
+     *
13
+     * This program is free software: you can redistribute it and/or modify it
14
+     * under the terms of the GNU Lesser General Public License as published by the
15
+     * Free Software Foundation, either version 3 of the License, or (at your
16
+     * option) any later version.
17
+     *
18
+     * This program is distributed in the hope that it will be useful, but WITHOUT
19
+     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
+     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
21
+     * for more details.
22
+     *
23
+     * You should have received a copy of the GNU Lesser General Public License
24
+     * along with this program. If not, see
25
+     * <http://www.gnu.org/licenses/>.
26
+     *
27
+     * You should be able to find a copy of this license in the LICENSE.md file. A
28
+     * copy of the GNU GPL should also be available in the GNU-GPL.md file.
29
+     *
30
+     * @copyright 2016 Michael Cummings
31
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
+     * @author    Michael Cummings <[email protected]>
33
+     */
34 34
 namespace Yapeal\EveApi\Server;
35 35
 
36 36
 use PDOException;
Please login to merge, or discard this patch.
lib/Xsd/Creator.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -1,32 +1,32 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains Creator class.
4
- *
5
- * PHP version 5.4
6
- *
7
- * LICENSE:
8
- * This file is part of Yet Another Php Eve Api Library also know as Yapeal which can be used to access the Eve Online
9
- * API data and place it into a database.
10
- * Copyright (C) 2015-2016 Michael Cummings
11
- *
12
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
13
- * Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
14
- * any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
17
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
18
- * details.
19
- *
20
- * You should have received a copy of the GNU Lesser General Public License along with this program. If not, see
21
- * <http://www.gnu.org/licenses/>.
22
- *
23
- * You should be able to find a copy of this license in the LICENSE.md file. A copy of the GNU GPL should also be
24
- * available in the GNU-GPL.md file.
25
- *
26
- * @copyright 2015-2016 Michael Cummings
27
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
28
- * @author    Michael Cummings <[email protected]>
29
- */
3
+     * Contains Creator class.
4
+     *
5
+     * PHP version 5.4
6
+     *
7
+     * LICENSE:
8
+     * This file is part of Yet Another Php Eve Api Library also know as Yapeal which can be used to access the Eve Online
9
+     * API data and place it into a database.
10
+     * Copyright (C) 2015-2016 Michael Cummings
11
+     *
12
+     * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
13
+     * Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
14
+     * any later version.
15
+     *
16
+     * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
17
+     * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
18
+     * details.
19
+     *
20
+     * You should have received a copy of the GNU Lesser General Public License along with this program. If not, see
21
+     * <http://www.gnu.org/licenses/>.
22
+     *
23
+     * You should be able to find a copy of this license in the LICENSE.md file. A copy of the GNU GPL should also be
24
+     * available in the GNU-GPL.md file.
25
+     *
26
+     * @copyright 2015-2016 Michael Cummings
27
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
28
+     * @author    Michael Cummings <[email protected]>
29
+     */
30 30
 namespace Yapeal\Xsd;
31 31
 
32 32
 use SimpleXMLElement;
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
         }
92 92
         $this->sectionName = $data->getEveApiSectionName();
93 93
         $xml = $data->getEveApiXml();
94
-         if (false === $xml) {
95
-             return $event->setHandledSufficiently();
96
-          }
94
+            if (false === $xml) {
95
+                return $event->setHandledSufficiently();
96
+            }
97 97
         $sxi = new SimpleXMLIterator($xml);
98 98
         $this->tables = [];
99 99
         $this->processValueOnly($sxi, lcfirst($data->getEveApiName()));
@@ -154,18 +154,18 @@  discard block
 block discarded – undo
154 154
         }
155 155
         $name = strtolower($name);
156 156
         foreach ([
157
-                     'descr'          => 'xs:string',
158
-                     'name'           => 'eveNameType',
159
-                     'balance'        => 'eveISKType',
160
-                     'isk'            => 'eveISKType',
161
-                     'tax'            => 'eveISKType',
162
-                     'timeefficiency' => 'xs:unsignedByte',
163
-                     'date'           => 'eveNEDTType',
164
-                     'time'           => 'eveNEDTType',
165
-                     'until'          => 'eveNEDTType',
166
-                     'errorcode'      => 'xs:unsignedShort',
167
-                     'level'          => 'xs:unsignedShort'
168
-                 ] as $search => $replace) {
157
+                        'descr'          => 'xs:string',
158
+                        'name'           => 'eveNameType',
159
+                        'balance'        => 'eveISKType',
160
+                        'isk'            => 'eveISKType',
161
+                        'tax'            => 'eveISKType',
162
+                        'timeefficiency' => 'xs:unsignedByte',
163
+                        'date'           => 'eveNEDTType',
164
+                        'time'           => 'eveNEDTType',
165
+                        'until'          => 'eveNEDTType',
166
+                        'errorcode'      => 'xs:unsignedShort',
167
+                        'level'          => 'xs:unsignedShort'
168
+                    ] as $search => $replace) {
169 169
             if (false !== strpos($name, $search)) {
170 170
                 return $replace;
171 171
             }
Please login to merge, or discard this patch.