Completed
Push — master ( d018a0...49321b )
by Michael
02:42
created
lib/Container/ContainerInterface.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 ContainerInterface 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 ContainerInterface 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\Container;
35 35
 
36 36
 /**
Please login to merge, or discard this patch.
lib/Container/PimpleContainer.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -1,52 +1,52 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is a simple wrapper for Pimple so Yapeal is future proofed against
4
- * changes to it's API.
5
- *
6
- * PHP version 5.5
7
- *
8
- * This is a wrapper / adapter to Pimple. Ran into many problems in composer
9
- * etc with trying to use version 2.0.x or master from Pimple as most other
10
- * projects on Packagest require 1.1.x and there was no way to resolved the
11
- * conflicts.
12
- *
13
- * Original the way I (Michael Cummings) thought of to solve the conflict was
14
- * to just add copy of the Pimple file from version 2.0.0 into Yapeal itself
15
- * but did mean having to maintain it from then on and manually merging any
16
- * local changes with external ones from the main project which is NOT a good
17
- * long term way to do things.
18
- *
19
- * I decided I need a better solution and after a few weeks of looking at
20
- * submodules and the drawbacks with them I decided they would NOT work, but
21
- * did ran into ```git subtree``` which does seem to fit in to what was needed
22
- * and does NOT have the drawbacks that submodules had.
23
- *
24
- * This file is part of Yet Another Php Eve Api Library also know as Yapeal
25
- * which can be used to access the Eve Online API data and place it into a
26
- * database.
27
- * Copyright (C) 2014-2016 Michael Cummings
28
- *
29
- * This program is free software: you can redistribute it and/or modify it
30
- * under the terms of the GNU Lesser General Public License as published by the
31
- * Free Software Foundation, either version 3 of the License, or (at your
32
- * option) any later version.
33
- *
34
- * This program is distributed in the hope that it will be useful, but WITHOUT
35
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
36
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
37
- * for more details.
38
- *
39
- * You should have received a copy of the GNU Lesser General Public License
40
- * along with this program. If not, see
41
- * <http://www.gnu.org/licenses/>.
42
- *
43
- * You should be able to find a copy of this license in the LICENSE.md file. A
44
- * copy of the GNU GPL should also be available in the GNU-GPL.md file.
45
- *
46
- * @copyright 2014-2016 Michael Cummings
47
- * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
48
- * @author    Michael Cummings <[email protected]>
49
- */
3
+     * This file is a simple wrapper for Pimple so Yapeal is future proofed against
4
+     * changes to it's API.
5
+     *
6
+     * PHP version 5.5
7
+     *
8
+     * This is a wrapper / adapter to Pimple. Ran into many problems in composer
9
+     * etc with trying to use version 2.0.x or master from Pimple as most other
10
+     * projects on Packagest require 1.1.x and there was no way to resolved the
11
+     * conflicts.
12
+     *
13
+     * Original the way I (Michael Cummings) thought of to solve the conflict was
14
+     * to just add copy of the Pimple file from version 2.0.0 into Yapeal itself
15
+     * but did mean having to maintain it from then on and manually merging any
16
+     * local changes with external ones from the main project which is NOT a good
17
+     * long term way to do things.
18
+     *
19
+     * I decided I need a better solution and after a few weeks of looking at
20
+     * submodules and the drawbacks with them I decided they would NOT work, but
21
+     * did ran into ```git subtree``` which does seem to fit in to what was needed
22
+     * and does NOT have the drawbacks that submodules had.
23
+     *
24
+     * This file is part of Yet Another Php Eve Api Library also know as Yapeal
25
+     * which can be used to access the Eve Online API data and place it into a
26
+     * database.
27
+     * Copyright (C) 2014-2016 Michael Cummings
28
+     *
29
+     * This program is free software: you can redistribute it and/or modify it
30
+     * under the terms of the GNU Lesser General Public License as published by the
31
+     * Free Software Foundation, either version 3 of the License, or (at your
32
+     * option) any later version.
33
+     *
34
+     * This program is distributed in the hope that it will be useful, but WITHOUT
35
+     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
36
+     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
37
+     * for more details.
38
+     *
39
+     * You should have received a copy of the GNU Lesser General Public License
40
+     * along with this program. If not, see
41
+     * <http://www.gnu.org/licenses/>.
42
+     *
43
+     * You should be able to find a copy of this license in the LICENSE.md file. A
44
+     * copy of the GNU GPL should also be available in the GNU-GPL.md file.
45
+     *
46
+     * @copyright 2014-2016 Michael Cummings
47
+     * @license   http://www.gnu.org/copyleft/lesser.html GNU LGPL
48
+     * @author    Michael Cummings <[email protected]>
49
+     */
50 50
 namespace Yapeal\Container;
51 51
 
52 52
 use Pimple\Container;
Please login to merge, or discard this patch.
lib/Container/ServiceCallableTrait.php 2 patches
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 ServiceCallableTrait 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 ServiceCallableTrait 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\Container;
35 35
 
36 36
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $class = __CLASS__;
49 49
         $serviceName = str_replace('\\', '.', $class);
50
-        $dic[$serviceName] = function () use ($dic, $class) {
50
+        $dic[$serviceName] = function() use ($dic, $class) {
51 51
             return new $class($dic['Yapeal.Log.Logger']);
52 52
         };
53 53
         return $serviceName;
Please login to merge, or discard this patch.
lib/EveApi/Account/AccountSection.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 AccountSection 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 AccountSection 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\EveApi\Account;
35 35
 
36 36
 use Yapeal\EveApi\CommonEveApiTrait;
Please login to merge, or discard this patch.
lib/EveApi/Account/AccountStatus.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 AccountStatus 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 AccountStatus 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\Account;
35 35
 
36 36
 use PDO;
Please login to merge, or discard this patch.
lib/EveApi/Api/ApiSection.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 ApiSection 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 ApiSection 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\EveApi\Api;
35 35
 
36 36
 use Yapeal\EveApi\CommonEveApiTrait;
Please login to merge, or discard this patch.
lib/EveApi/Char/CharSection.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -1,32 +1,32 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains CharSection 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 CharSection 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\EveApi\Char;
31 31
 
32 32
 use PDO;
Please login to merge, or discard this patch.
lib/EveApi/CommonEveApiTrait.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 CommonEveApiTrait 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) 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 CommonEveApiTrait 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) 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\EveApi;
35 35
 
36 36
 use Monolog\Logger;
Please login to merge, or discard this patch.
lib/EveApi/Creator.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,36 +1,36 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Contains Creator 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 Creator 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\EveApi;
35 35
 
36 36
 use SimpleXMLElement;
@@ -160,16 +160,16 @@  discard block
 block discarded – undo
160 160
         $name = strtolower($name);
161 161
         $column = 'null';
162 162
         foreach ([
163
-                     'descr'          => '\'\'',
164
-                     'name'           => '\'\'',
165
-                     'balance'        => '\'0.0\'',
166
-                     'isk'            => '\'0.0\'',
167
-                     'tax'            => '\'0.0\'',
168
-                     'timeefficiency' => 'null',
169
-                     'date'           => '\'1970-01-01 00:00:01\'',
170
-                     'time'           => '\'1970-01-01 00:00:01\'',
171
-                     'until'          => '\'1970-01-01 00:00:01\''
172
-                 ] as $search => $replace) {
163
+                        'descr'          => '\'\'',
164
+                        'name'           => '\'\'',
165
+                        'balance'        => '\'0.0\'',
166
+                        'isk'            => '\'0.0\'',
167
+                        'tax'            => '\'0.0\'',
168
+                        'timeefficiency' => 'null',
169
+                        'date'           => '\'1970-01-01 00:00:01\'',
170
+                        'time'           => '\'1970-01-01 00:00:01\'',
171
+                        'until'          => '\'1970-01-01 00:00:01\''
172
+                    ] as $search => $replace) {
173 173
             if (false !== strpos($name, $search)) {
174 174
                 return $replace;
175 175
             }
Please login to merge, or discard this patch.