@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Skobkin\Bundle\PointToolsBundle\Service\Factory\Blogs; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 7 | 6 | use Doctrine\ORM\EntityRepository; |
| 8 | 7 | use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Comment; |
| 9 | 8 | use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Skobkin\Bundle\PointToolsBundle\Service\Factory\Blogs; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 7 | 6 | use Doctrine\ORM\EntityRepository; |
| 8 | 7 | use Psr\Log\LoggerInterface; |
| 9 | 8 | use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\File; |
@@ -3,14 +3,12 @@ |
||
| 3 | 3 | namespace Skobkin\Bundle\PointToolsBundle\Service\Factory\Blogs; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 7 | 6 | use Doctrine\ORM\EntityRepository; |
| 8 | 7 | use Psr\Log\LoggerInterface; |
| 9 | 8 | use Skobkin\Bundle\PointToolsBundle\DTO\Api\Crawler\MetaPost; |
| 10 | 9 | use Skobkin\Bundle\PointToolsBundle\DTO\Api\Crawler\PostsPage; |
| 11 | 10 | use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post; |
| 12 | 11 | use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\PostTag; |
| 13 | -use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Tag; |
|
| 14 | 12 | use Skobkin\Bundle\PointToolsBundle\Service\Exceptions\ApiException; |
| 15 | 13 | use Skobkin\Bundle\PointToolsBundle\Service\Exceptions\Factory\Blogs\InvalidPostDataException; |
| 16 | 14 | use Skobkin\Bundle\PointToolsBundle\Service\Exceptions\InvalidResponseException; |
@@ -96,13 +96,13 @@ |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) { |
| 99 | - $output->writeln('@' . $row[1] . ' added'); |
|
| 99 | + $output->writeln('@'.$row[1].' added'); |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | $count++; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - $output->writeln($count . ' users imported.'); |
|
| 105 | + $output->writeln($count.' users imported.'); |
|
| 106 | 106 | |
| 107 | 107 | return 0; |
| 108 | 108 | } |