Completed
Pull Request — master (#28)
by Andreas
01:52
created
src/Command/ParseEvents.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 
32 32
 use Callingallpapers\Parser\JoindinCfpParser;
33 33
 use Callingallpapers\Parser\Lanyrd\LanyrdCfpParser;
34
-use Callingallpapers\Parser\PapercallIoParser;
35 34
 use Callingallpapers\Parser\PapercallIoParserFactory;
36 35
 use Callingallpapers\Service\TimezoneService;
37 36
 use Callingallpapers\Writer\ApiCfpWriter;
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
     protected function configure()
48 48
     {
49 49
         $this->setName("parseCfPs")
50
-             ->setDescription("Retrieve CfPs and parse them")
51
-             ->setDefinition(array(
52
-                 new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''),
53
-             ))
54
-             ->setHelp(<<<EOT
50
+                ->setDescription("Retrieve CfPs and parse them")
51
+                ->setDefinition(array(
52
+                    new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''),
53
+                ))
54
+                ->setHelp(<<<EOT
55 55
 Get details about CfPs from different sources
56 56
 
57 57
 Usage:
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 If you ommit the date the current date will be used instead
62 62
 <info>callingallpapers parseCfPs<env></info>
63 63
 EOT
64
-             );
64
+                );
65 65
     }
66 66
 
67 67
     protected function execute(InputInterface $input, OutputInterface $output)
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
 
82 82
         $timezoneService = new TimezoneService(new Client(), $config['timezonedb_token']);
83 83
         $parser = new LanyrdCfpParser($timezoneService);
84
-       // $parser->parse($writer);
84
+        // $parser->parse($writer);
85 85
         $parser = new JoindinCfpParser();
86
-       // $parser->parse($writer);
86
+        // $parser->parse($writer);
87 87
         $factory = new PapercallIoParserFactory($timezoneService);
88 88
         $parser = $factory();
89 89
         $parser->parse($writer);
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventEndDate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
 use Callingallpapers\Entity\Cfp;
33 33
 use Callingallpapers\Parser\EventDetailParserInterface;
34 34
 use DateTimeImmutable;
35
-use DateTimeZone;
36 35
 use DOMDocument;
37 36
 use DOMNode;
38 37
 use DOMXPath;
Please login to merge, or discard this patch.