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/Writer/NullOutput.php 1 patch
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.
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.