Completed
Push — master ( c99d2e...700cad )
by Michael
02:57
created
lib/Sql/Creator.php 1 patch
Indentation   +39 added lines, -39 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\Sql;
31 31
 
32 32
 use SimpleXMLElement;
@@ -238,18 +238,18 @@  discard block
 block discarded – undo
238 238
         }
239 239
         $name = strtolower($name);
240 240
         foreach ([
241
-                     'descr'          => 'TEXT NOT NULL',
242
-                     'name'           => 'CHAR(100) NOT NULL',
243
-                     'balance'        => 'DECIMAL(17, 2) NOT NULL',
244
-                     'isk'            => 'DECIMAL(17, 2) NOT NULL',
245
-                     'tax'            => 'DECIMAL(17, 2) NOT NULL',
246
-                     'timeefficiency' => 'TINYINT(3) UNSIGNED NOT NULL',
247
-                     'date'           => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
248
-                     'time'           => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
249
-                     'until'          => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
250
-                     'errorcode'      => 'SMALLINT(4) UNSIGNED NOT NULL',
251
-                     'level'          => 'SMALLINT(4) UNSIGNED NOT NULL'
252
-                 ] as $search => $replace) {
241
+                        'descr'          => 'TEXT NOT NULL',
242
+                        'name'           => 'CHAR(100) NOT NULL',
243
+                        'balance'        => 'DECIMAL(17, 2) NOT NULL',
244
+                        'isk'            => 'DECIMAL(17, 2) NOT NULL',
245
+                        'tax'            => 'DECIMAL(17, 2) NOT NULL',
246
+                        'timeefficiency' => 'TINYINT(3) UNSIGNED NOT NULL',
247
+                        'date'           => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
248
+                        'time'           => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
249
+                        'until'          => 'DATETIME NOT NULL DEFAULT \'1970-01-01 00:00:01\'',
250
+                        'errorcode'      => 'SMALLINT(4) UNSIGNED NOT NULL',
251
+                        'level'          => 'SMALLINT(4) UNSIGNED NOT NULL'
252
+                    ] as $search => $replace) {
253 253
             if (false !== strpos($name, $search)) {
254 254
                 return $replace;
255 255
             }
Please login to merge, or discard this patch.
lib/Sql/PreserverTrait.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 PreserverTrait Trait.
4
- *
5
- * PHP version 5.5
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) 2014-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 2014-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains PreserverTrait Trait.
4
+     *
5
+     * PHP version 5.5
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) 2014-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 2014-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\Sql;
35 35
 
36 36
 use SimpleXMLIterator;
Please login to merge, or discard this patch.
lib/Xml/EveApiPreserverInterface.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 EveApiPreserverInterface Interface.
4
- *
5
- * PHP version 5.5
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) 2014-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 2014-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains EveApiPreserverInterface Interface.
4
+     *
5
+     * PHP version 5.5
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) 2014-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 2014-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\Xml;
35 35
 
36 36
 /**
Please login to merge, or discard this patch.
lib/Xml/EveApiReadWriteInterface.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 EveApiReadWriteInterface Interface.
4
- *
5
- * PHP version 5.5
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) 2014-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 2014-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains EveApiReadWriteInterface Interface.
4
+     *
5
+     * PHP version 5.5
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) 2014-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 2014-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\Xml;
35 35
 
36 36
 /**
Please login to merge, or discard this patch.
lib/Xml/EveApiRetrieverInterface.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 EveApiRetrieverInterface Interface.
4
- *
5
- * PHP version 5.5
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) 2014-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 2014-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains EveApiRetrieverInterface Interface.
4
+     *
5
+     * PHP version 5.5
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) 2014-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 2014-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\Xml;
35 35
 
36 36
 use Yapeal\Event\EveApiEventInterface;
Please login to merge, or discard this patch.
lib/Xsd/Validator.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 Validator class.
4
- *
5
- * PHP version 5.5
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) 2015-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 2015-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains Validator class.
4
+     *
5
+     * PHP version 5.5
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) 2015-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 2015-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\Xsd;
35 35
 
36 36
 use DOMDocument;
Please login to merge, or discard this patch.
lib/Xsl/Transformer.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 Transformer class.
4
- *
5
- * PHP version 5.5
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) 2015-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 2015-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains Transformer class.
4
+     *
5
+     * PHP version 5.5
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) 2015-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 2015-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\Xsl;
35 35
 
36 36
 use DOMDocument;
Please login to merge, or discard this patch.
lib/Xsl/TransformerInterface.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -1,37 +1,37 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains Transformer interface.
4
- *
5
- * PHP version 5.5
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) 2015-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 2015-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- * @since     20150727 14:20
34
- */
3
+     * Contains Transformer interface.
4
+     *
5
+     * PHP version 5.5
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) 2015-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 2015-2016 Michael Cummings
31
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
+     * @author    Michael Cummings <[email protected]>
33
+     * @since     20150727 14:20
34
+     */
35 35
 namespace Yapeal\Xsl;
36 36
 
37 37
 use Yapeal\Event\EveApiEventInterface;
Please login to merge, or discard this patch.
lib/Yapeal.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -1,36 +1,36 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains Yapeal class.
4
- *
5
- * PHP version 5.5
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) 2014-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 2014-2016 Michael Cummings
31
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
32
- * @author    Michael Cummings <[email protected]>
33
- */
3
+     * Contains Yapeal class.
4
+     *
5
+     * PHP version 5.5
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) 2014-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 2014-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;
35 35
 
36 36
 use FilePathNormalizer\FilePathNormalizerTrait;
@@ -81,14 +81,14 @@  discard block
 block discarded – undo
81 81
         $this->setYem($dic['Yapeal.Event.Mediator']);
82 82
         $mess = 'Let the magic begin!';
83 83
         $this->getYem()
84
-             ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $mess);
84
+                ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $mess);
85 85
         /**
86 86
          * @type CommonSqlQueries $csq
87 87
          */
88 88
         $csq = $dic['Yapeal.Sql.CommonQueries'];
89 89
         $sql = $csq->getActiveApis();
90 90
         $this->getYem()
91
-             ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $sql);
91
+                ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $sql);
92 92
         try {
93 93
             /**
94 94
              * @type PDO $pdo
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         } catch (PDOException $exc) {
103 103
             $mess = 'Could not access utilEveApi table';
104 104
             $this->getYem()
105
-                 ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $mess, ['exception' => $exc]);
105
+                    ->triggerLogEvent('Yapeal.Log.log', Logger::INFO, $mess, ['exception' => $exc]);
106 106
             return 1;
107 107
         }
108 108
         // Always check APIKeyInfo.
@@ -123,8 +123,8 @@  discard block
 block discarded – undo
123 123
              */
124 124
             $data = $dic['Yapeal.Xml.Data'];
125 125
             $data->setEveApiName($record['apiName'])
126
-                 ->setEveApiSectionName($record['sectionName'])
127
-                 ->setCacheInterval($record['interval']);
126
+                    ->setEveApiSectionName($record['sectionName'])
127
+                    ->setCacheInterval($record['interval']);
128 128
             $this->emitEvents($data, 'start');
129 129
         }
130 130
         return 0;
Please login to merge, or discard this patch.