Passed
Push — develop ( d81305...ba8b80 )
by Paul
02:47
created
src/PHPUnitGenerator/Parser/CodeParser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         // Parse class
102 102
         $classStatement = $this->findClassAndUses($statements);
103
-        if (! $classStatement) {
103
+        if (!$classStatement) {
104 104
             throw new EmptyFileException(EmptyFileException::TEXT);
105 105
         }
106 106
 
@@ -261,16 +261,16 @@  discard block
 block discarded – undo
261 261
     protected function getTestsAnnotations(): array
262 262
     {
263 263
         $testsAnnotations = [];
264
-        if (! empty($author = $this->config->getOption(ConfigInterface::OPTION_DOC_AUTHOR))) {
264
+        if (!empty($author = $this->config->getOption(ConfigInterface::OPTION_DOC_AUTHOR))) {
265 265
             $testsAnnotations['author'] = $author;
266 266
         }
267
-        if (! empty($copyright = $this->config->getOption(ConfigInterface::OPTION_DOC_COPYRIGHT))) {
267
+        if (!empty($copyright = $this->config->getOption(ConfigInterface::OPTION_DOC_COPYRIGHT))) {
268 268
             $testsAnnotations['copyright'] = $copyright;
269 269
         }
270
-        if (! empty($licence = $this->config->getOption(ConfigInterface::OPTION_DOC_LICENCE))) {
270
+        if (!empty($licence = $this->config->getOption(ConfigInterface::OPTION_DOC_LICENCE))) {
271 271
             $testsAnnotations['licence'] = $licence;
272 272
         }
273
-        if (! empty($since = $this->config->getOption(ConfigInterface::OPTION_DOC_SINCE))) {
273
+        if (!empty($since = $this->config->getOption(ConfigInterface::OPTION_DOC_SINCE))) {
274 274
             $testsAnnotations['since'] = $since;
275 275
         }
276 276
         return $testsAnnotations;
Please login to merge, or discard this patch.