Completed
Pull Request — master (#7)
by Andreas
02:07
created
src/Parser/JoindinCfpParser.php 1 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/Command/ParseEvents.php 1 patch
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.
src/Service/WriterFactory.php 1 patch
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.
src/Writer/ApiCfpWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $this->output->writeln(sprintf(
119 119
             'Conference "%1$s" succcessfully %2$s.',
120 120
             $cfp->conferenceName,
121
-            ($exists)?'updated':'created'
121
+            ($exists) ? 'updated' : 'created'
122 122
         ));
123 123
 
124 124
         return isset($response) && ($response->getStatusCode() === 200 || $response->getStatusCode() === 201);
Please login to merge, or discard this patch.