Completed
Push — master ( 3dfb42...7633c5 )
by Andreas
03:14 queued 01:07
created
src/Parser/ParserInterface.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
- * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- * @author    Andreas Heigl<[email protected]>
24
- * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
- * @version   0.0
27
- * @since     01.12.2015
28
- * @link      http://github.com/heiglandreas/callingallpapers-cli
29
- */
3
+     * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
+     *
5
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+     * of this software and associated documentation files (the "Software"), to deal
7
+     * in the Software without restriction, including without limitation the rights
8
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+     * copies of the Software, and to permit persons to whom the Software is
10
+     * furnished to do so, subject to the following conditions:
11
+     *
12
+     * The above copyright notice and this permission notice shall be included in
13
+     * all copies or substantial portions of the Software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+     * THE SOFTWARE.
22
+     *
23
+     * @author    Andreas Heigl<[email protected]>
24
+     * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
+     * @version   0.0
27
+     * @since     01.12.2015
28
+     * @link      http://github.com/heiglandreas/callingallpapers-cli
29
+     */
30 30
 namespace Callingallpapers\Parser;
31 31
 
32 32
 interface ParserInterface
Please login to merge, or discard this patch.
src/Writer/ApiCfpWriter.php 2 patches
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
- * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- * @author    Andreas Heigl<[email protected]>
24
- * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
- * @version   0.0
27
- * @since     01.12.2015
28
- * @link      http://github.com/heiglandreas/callingallpapers-cli
29
- */
3
+     * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
+     *
5
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+     * of this software and associated documentation files (the "Software"), to deal
7
+     * in the Software without restriction, including without limitation the rights
8
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+     * copies of the Software, and to permit persons to whom the Software is
10
+     * furnished to do so, subject to the following conditions:
11
+     *
12
+     * The above copyright notice and this permission notice shall be included in
13
+     * all copies or substantial portions of the Software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+     * THE SOFTWARE.
22
+     *
23
+     * @author    Andreas Heigl<[email protected]>
24
+     * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
+     * @version   0.0
27
+     * @since     01.12.2015
28
+     * @link      http://github.com/heiglandreas/callingallpapers-cli
29
+     */
30 30
 namespace Callingallpapers\Parser;
31 31
 
32 32
 interface ParserInterface
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
123 123
         $this->output->writeln(sprintf(
124 124
             'Conference "%1$s" succcessfully %2$s.',
125 125
             $cfp->conferenceName,
126
-            ($exists)?'updated':'created'
126
+            ($exists) ? 'updated' : 'created'
127 127
         ));
128 128
 
129
-        return (isset($response) && ($response->getStatusCode() === 200 || $response->getStatusCode() === 201))?'Success':'Failure';
129
+        return (isset($response) && ($response->getStatusCode() === 200 || $response->getStatusCode() === 201)) ? 'Success' : 'Failure';
130 130
     }
131 131
 
132 132
     public function setOutput(OutputInterface $output)
Please login to merge, or discard this patch.
src/Parser/JoindinCfpParser.php 2 patches
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
- * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- * @author    Andreas Heigl<[email protected]>
24
- * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
- * @version   0.0
27
- * @since     01.12.2015
28
- * @link      http://github.com/heiglandreas/callingallpapers-cli
29
- */
3
+     * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
+     *
5
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+     * of this software and associated documentation files (the "Software"), to deal
7
+     * in the Software without restriction, including without limitation the rights
8
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+     * copies of the Software, and to permit persons to whom the Software is
10
+     * furnished to do so, subject to the following conditions:
11
+     *
12
+     * The above copyright notice and this permission notice shall be included in
13
+     * all copies or substantial portions of the Software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+     * THE SOFTWARE.
22
+     *
23
+     * @author    Andreas Heigl<[email protected]>
24
+     * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
+     * @version   0.0
27
+     * @since     01.12.2015
28
+     * @link      http://github.com/heiglandreas/callingallpapers-cli
29
+     */
30 30
 namespace Callingallpapers\Parser;
31 31
 
32 32
 interface ParserInterface
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $contents = new CfpList();
49 49
 
50 50
         foreach ($content['events'] as $event) {
51
-            if (! $event['cfp_url']) {
51
+            if (!$event['cfp_url']) {
52 52
                 continue;
53 53
             }
54 54
             $info = new Cfp();
Please login to merge, or discard this patch.
src/Writer/DefaultCfpWriter.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
- * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- * @author    Andreas Heigl<[email protected]>
24
- * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
- * @version   0.0
27
- * @since     01.12.2015
28
- * @link      http://github.com/heiglandreas/callingallpapers-cli
29
- */
3
+     * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
+     *
5
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+     * of this software and associated documentation files (the "Software"), to deal
7
+     * in the Software without restriction, including without limitation the rights
8
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+     * copies of the Software, and to permit persons to whom the Software is
10
+     * furnished to do so, subject to the following conditions:
11
+     *
12
+     * The above copyright notice and this permission notice shall be included in
13
+     * all copies or substantial portions of the Software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+     * THE SOFTWARE.
22
+     *
23
+     * @author    Andreas Heigl<[email protected]>
24
+     * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
+     * @version   0.0
27
+     * @since     01.12.2015
28
+     * @link      http://github.com/heiglandreas/callingallpapers-cli
29
+     */
30 30
 namespace Callingallpapers\Parser;
31 31
 
32 32
 interface ParserInterface
Please login to merge, or discard this patch.
src/Writer/NullOutput.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * Gets the decorated flag.
146 146
      *
147
-     * @return bool true if the output will decorate messages, false otherwise
147
+     * @return integer true if the output will decorate messages, false otherwise
148 148
      * @api
149 149
      */
150 150
     public function isDecorated()
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * Returns whether verbosity is quiet (-q).
168 168
      *
169
-     * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise
169
+     * @return boolean|null true if verbosity is set to VERBOSITY_QUIET, false otherwise
170 170
      */
171 171
     public function isQuiet()
172 172
     {
Please login to merge, or discard this patch.
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,29 +1,29 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
- * THE SOFTWARE.
19
- *
20
- * @author    Andreas Heigl<[email protected]>
21
- * @copyright 2016-2016 Andreas Heigl
22
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
- * @version   0.0
24
- * @since     27.03.2016
25
- * @link      http://github.com/heiglandreas/callingallpapers
26
- */
3
+     * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
5
+     * of this software and associated documentation files (the "Software"), to deal
6
+     * in the Software without restriction, including without limitation the rights
7
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+     * copies of the Software, and to permit persons to whom the Software is
9
+     * furnished to do so, subject to the following conditions:
10
+     * The above copyright notice and this permission notice shall be included in
11
+     * all copies or substantial portions of the Software.
12
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
+     * THE SOFTWARE.
19
+     *
20
+     * @author    Andreas Heigl<[email protected]>
21
+     * @copyright 2016-2016 Andreas Heigl
22
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
+     * @version   0.0
24
+     * @since     27.03.2016
25
+     * @link      http://github.com/heiglandreas/callingallpapers
26
+     */
27 27
 
28 28
 namespace Callingallpapers\Writer;
29 29
 
Please login to merge, or discard this patch.
src/Command/ParseEvents.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $start = new \DateTime($input->getOption('start'));
69 69
 
70
-        if (! $start instanceof \DateTime) {
70
+        if (!$start instanceof \DateTime) {
71 71
             throw new \InvalidArgumentException('The given date could not be parsed');
72 72
         }
73 73
 
Please login to merge, or discard this patch.
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -1,32 +1,32 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- * @author    Andreas Heigl<[email protected]>
24
- * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
- * @version   0.0
27
- * @since     01.12.2015
28
- * @link      http://github.com/heiglandreas/callingallpapers-cli
29
- */
3
+     * Copyright (c) 2015-2016 Andreas Heigl<[email protected]>
4
+     *
5
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+     * of this software and associated documentation files (the "Software"), to deal
7
+     * in the Software without restriction, including without limitation the rights
8
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+     * copies of the Software, and to permit persons to whom the Software is
10
+     * furnished to do so, subject to the following conditions:
11
+     *
12
+     * The above copyright notice and this permission notice shall be included in
13
+     * all copies or substantial portions of the Software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+     * THE SOFTWARE.
22
+     *
23
+     * @author    Andreas Heigl<[email protected]>
24
+     * @copyright 2015-2016 Andreas Heigl/callingallpapers.com
25
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
26
+     * @version   0.0
27
+     * @since     01.12.2015
28
+     * @link      http://github.com/heiglandreas/callingallpapers-cli
29
+     */
30 30
 namespace Callingallpapers\Command;
31 31
 
32 32
 use Callingallpapers\Parser\JoindinCfpParser;
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
     protected function configure()
43 43
     {
44 44
         $this->setName("parseCfPs")
45
-             ->setDescription("Retrieve CfPs and parse them")
46
-             ->setDefinition(array(
47
-                 new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''),
48
-             ))
49
-             ->setHelp(<<<EOT
45
+                ->setDescription("Retrieve CfPs and parse them")
46
+                ->setDefinition(array(
47
+                    new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''),
48
+                ))
49
+                ->setHelp(<<<EOT
50 50
 Get details about CfPs from different sources
51 51
 
52 52
 Usage:
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 If you ommit the date the current date will be used instead
57 57
 <info>callingallpapers parseCfPs<env></info>
58 58
 EOT
59
-             );
59
+                );
60 60
     }
61 61
 
62 62
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Service/WriterFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             throw new UnknownWriterException('The requested writer could not be created');
43 43
         }
44 44
         
45
-        if (! $writer instanceof WriterInterface) {
45
+        if (!$writer instanceof WriterInterface) {
46 46
             throw new InvalidWriterException('The requested writer is not of the expected type');
47 47
         }
48 48
 
Please login to merge, or discard this patch.
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,29 +1,29 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
- * THE SOFTWARE.
19
- *
20
- * @author    Andreas Heigl<[email protected]>
21
- * @copyright 2016-2016 Andreas Heigl
22
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
- * @version   0.0
24
- * @since     24.03.2016
25
- * @link      http://github.com/heiglandreas/callingallpapers
26
- */
3
+     * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
5
+     * of this software and associated documentation files (the "Software"), to deal
6
+     * in the Software without restriction, including without limitation the rights
7
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+     * copies of the Software, and to permit persons to whom the Software is
9
+     * furnished to do so, subject to the following conditions:
10
+     * The above copyright notice and this permission notice shall be included in
11
+     * all copies or substantial portions of the Software.
12
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
+     * THE SOFTWARE.
19
+     *
20
+     * @author    Andreas Heigl<[email protected]>
21
+     * @copyright 2016-2016 Andreas Heigl
22
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
+     * @version   0.0
24
+     * @since     24.03.2016
25
+     * @link      http://github.com/heiglandreas/callingallpapers
26
+     */
27 27
 
28 28
 namespace Callingallpapers\Writer;
29 29
 
Please login to merge, or discard this patch.
src/Writer/WriterInterface.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,29 +1,29 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
- * THE SOFTWARE.
19
- *
20
- * @author    Andreas Heigl<[email protected]>
21
- * @copyright 2016-2016 Andreas Heigl
22
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
- * @version   0.0
24
- * @since     24.03.2016
25
- * @link      http://github.com/heiglandreas/callingallpapers
26
- */
3
+     * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
5
+     * of this software and associated documentation files (the "Software"), to deal
6
+     * in the Software without restriction, including without limitation the rights
7
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+     * copies of the Software, and to permit persons to whom the Software is
9
+     * furnished to do so, subject to the following conditions:
10
+     * The above copyright notice and this permission notice shall be included in
11
+     * all copies or substantial portions of the Software.
12
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
+     * THE SOFTWARE.
19
+     *
20
+     * @author    Andreas Heigl<[email protected]>
21
+     * @copyright 2016-2016 Andreas Heigl
22
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
+     * @version   0.0
24
+     * @since     24.03.2016
25
+     * @link      http://github.com/heiglandreas/callingallpapers
26
+     */
27 27
 
28 28
 namespace Callingallpapers\Writer;
29 29
 
Please login to merge, or discard this patch.
src/Writer/WriterList.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,29 +1,29 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
- * THE SOFTWARE.
19
- *
20
- * @author    Andreas Heigl<[email protected]>
21
- * @copyright 2016-2016 Andreas Heigl
22
- * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
- * @version   0.0
24
- * @since     27.03.2016
25
- * @link      http://github.com/heiglandreas/callingallpapers
26
- */
3
+     * Copyright (c) 2016-2016} Andreas Heigl<[email protected]>
4
+     * Permission is hereby granted, free of charge, to any person obtaining a copy
5
+     * of this software and associated documentation files (the "Software"), to deal
6
+     * in the Software without restriction, including without limitation the rights
7
+     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+     * copies of the Software, and to permit persons to whom the Software is
9
+     * furnished to do so, subject to the following conditions:
10
+     * The above copyright notice and this permission notice shall be included in
11
+     * all copies or substantial portions of the Software.
12
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18
+     * THE SOFTWARE.
19
+     *
20
+     * @author    Andreas Heigl<[email protected]>
21
+     * @copyright 2016-2016 Andreas Heigl
22
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT-License
23
+     * @version   0.0
24
+     * @since     27.03.2016
25
+     * @link      http://github.com/heiglandreas/callingallpapers
26
+     */
27 27
 
28 28
 namespace Callingallpapers\Writer;
29 29
 
Please login to merge, or discard this patch.