@@ -32,15 +32,9 @@ |
||
| 32 | 32 | use Callingallpapers\CfpFilter\FilterList; |
| 33 | 33 | use Callingallpapers\CfpFilter\FollowUriRedirect; |
| 34 | 34 | use Callingallpapers\CfpFilter\StripParamsFromUri; |
| 35 | -use Callingallpapers\ErrorHandling\ErrorStore; |
|
| 36 | -use Callingallpapers\Exception\UnverifiedUriException; |
|
| 37 | 35 | use Callingallpapers\Parser\ConfsTech\ConferenceParser; |
| 38 | 36 | use Callingallpapers\Parser\ConfsTechParser; |
| 39 | -use Callingallpapers\Parser\JoindinCfpParser; |
|
| 40 | -use Callingallpapers\Parser\Lanyrd\LanyrdCfpParser; |
|
| 41 | -use Callingallpapers\Parser\PapercallIo\PapercallIoParserFactory; |
|
| 42 | 37 | use Callingallpapers\ResultKeeper\ConsoleOutputResultKeeper; |
| 43 | -use Callingallpapers\ResultKeeper\ResultKeeper; |
|
| 44 | 38 | use Callingallpapers\Service\ConfsTechParserFactory; |
| 45 | 39 | use Callingallpapers\Service\GeolocationService; |
| 46 | 40 | use Callingallpapers\Service\TimezoneService; |
@@ -58,11 +58,11 @@ discard block |
||
| 58 | 58 | protected function configure() |
| 59 | 59 | { |
| 60 | 60 | $this->setName("parseCfPs:confs.tech") |
| 61 | - ->setDescription("Retrieve CfPs from Confs.tech ony and parse them") |
|
| 62 | - ->setDefinition(array( |
|
| 63 | - new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 64 | - )) |
|
| 65 | - ->setHelp(<<<EOT |
|
| 61 | + ->setDescription("Retrieve CfPs from Confs.tech ony and parse them") |
|
| 62 | + ->setDefinition(array( |
|
| 63 | + new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 64 | + )) |
|
| 65 | + ->setHelp(<<<EOT |
|
| 66 | 66 | Get details about CfPs from https://confs.tech |
| 67 | 67 | |
| 68 | 68 | Usage: |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | If you ommit the date the current date will be used instead |
| 73 | 73 | <info>callingallpapers parseCfPs<env></info> |
| 74 | 74 | EOT |
| 75 | - ); |
|
| 75 | + ); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -9,8 +9,6 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace Callingallpapers\ResultKeeper; |
| 11 | 11 | |
| 12 | -use Symfony\Component\Console\Output\OutputInterface; |
|
| 13 | - |
|
| 14 | 12 | class ResultKeeper |
| 15 | 13 | { |
| 16 | 14 | private $errors = []; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Callingallpapers\Writer\WriterInterface; |
| 17 | 17 | use DateTimeImmutable; |
| 18 | 18 | use GuzzleHttp\Client; |
| 19 | -use Symfony\Component\Console\Output\OutputInterface; |
|
| 20 | 19 | |
| 21 | 20 | class ConfsTechParserFactory |
| 22 | 21 | { |
@@ -11,5 +11,5 @@ |
||
| 11 | 11 | |
| 12 | 12 | class Created extends Success |
| 13 | 13 | { |
| 14 | - // Nothing to be done. |
|
| 14 | + // Nothing to be done. |
|
| 15 | 15 | } |