@@ -376,7 +376,7 @@ discard block  | 
                                                    ||
| 376 | 376 |          foreach ($topicData as $topicDatum) { | 
                                                        
| 377 | 377 | $topic = $this->topicRepository->findOneByName($topicDatum['name']);  | 
                                                        
| 378 | 378 |              if (null === $topic) { | 
                                                        
| 379 | - $imagename = 'bg0'.$sortKey.'.jpg';  | 
                                                        |
| 379 | + $imagename = 'bg0' . $sortKey . '.jpg';  | 
                                                        |
| 380 | 380 | $topic = new Topic();  | 
                                                        
| 381 | 381 | $topic->setName($topicDatum['name']);  | 
                                                        
| 382 | 382 | $topic->setStatus($topicDatum['status']);  | 
                                                        
@@ -384,11 +384,11 @@ discard block  | 
                                                    ||
| 384 | 384 | $topic->setOriginalImageName($imagename);  | 
                                                        
| 385 | 385 | $topic->setImageFilename($imagename);  | 
                                                        
| 386 | 386 | $this->topicRepository->save($topic);  | 
                                                        
| 387 | - $topicFolder = $imagesTargetFolder.'/'.$topic->getId().'/';  | 
                                                        |
| 387 | + $topicFolder = $imagesTargetFolder . '/' . $topic->getId() . '/';  | 
                                                        |
| 388 | 388 |                  if (!mkdir($topicFolder) && !is_dir($topicFolder)) { | 
                                                        
| 389 | 389 |                      throw new \RuntimeException(sprintf('Directory "%s" was not created', $topicFolder)); | 
                                                        
| 390 | 390 | }  | 
                                                        
| 391 | - copy($imagesSrcFolder.$imagename, $topicFolder.'/'.$imagename);  | 
                                                        |
| 391 | + copy($imagesSrcFolder . $imagename, $topicFolder . '/' . $imagename);  | 
                                                        |
| 392 | 392 | ++$sortKey;  | 
                                                        
| 393 | 393 | }  | 
                                                        
| 394 | 394 | $this->dummyData['topics'][] = $topic;  | 
                                                        
@@ -532,9 +532,9 @@ discard block  | 
                                                    ||
| 532 | 532 | */  | 
                                                        
| 533 | 533 | private function cleanImageDirectories(): void  | 
                                                        
| 534 | 534 |      { | 
                                                        
| 535 | - $topicImageDirectory = $this->topicImageDirectory.'/';  | 
                                                        |
| 535 | + $topicImageDirectory = $this->topicImageDirectory . '/';  | 
                                                        |
| 536 | 536 |          if (is_dir($topicImageDirectory)) { | 
                                                        
| 537 | -            shell_exec('rm -r '.$topicImageDirectory.'*'); | 
                                                        |
| 537 | +            shell_exec('rm -r ' . $topicImageDirectory . '*'); | 
                                                        |
| 538 | 538 | }  | 
                                                        
| 539 | 539 | }  | 
                                                        
| 540 | 540 | }  |