@@ -45,18 +45,18 @@ |
||
| 45 | 45 | protected function configure() |
| 46 | 46 | { |
| 47 | 47 | $this->setName("notifyClosingCfps") |
| 48 | - ->setDescription("Notify about CfPs that close within 24 hours") |
|
| 49 | - ->setDefinition(array( |
|
| 50 | - new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 51 | - )) |
|
| 52 | - ->setHelp(<<<EOT |
|
| 48 | + ->setDescription("Notify about CfPs that close within 24 hours") |
|
| 49 | + ->setDefinition(array( |
|
| 50 | + new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 51 | + )) |
|
| 52 | + ->setHelp(<<<EOT |
|
| 53 | 53 | Notify about CfPs that are closing within 24 hours |
| 54 | 54 | |
| 55 | 55 | Usage: |
| 56 | 56 | |
| 57 | 57 | <info>callingallpapers notifyClosingCfp</info> |
| 58 | 58 | EOT |
| 59 | - ); |
|
| 59 | + ); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -47,11 +47,11 @@ discard block |
||
| 47 | 47 | protected function configure() |
| 48 | 48 | { |
| 49 | 49 | $this->setName("parseCfPs") |
| 50 | - ->setDescription("Retrieve CfPs and parse them") |
|
| 51 | - ->setDefinition(array( |
|
| 52 | - new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 53 | - )) |
|
| 54 | - ->setHelp(<<<EOT |
|
| 50 | + ->setDescription("Retrieve CfPs and parse them") |
|
| 51 | + ->setDefinition(array( |
|
| 52 | + new InputOption('start', 's', InputOption::VALUE_OPTIONAL, 'What should be the first date to be taken into account?', ''), |
|
| 53 | + )) |
|
| 54 | + ->setHelp(<<<EOT |
|
| 55 | 55 | Get details about CfPs from different sources |
| 56 | 56 | |
| 57 | 57 | Usage: |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | If you ommit the date the current date will be used instead |
| 62 | 62 | <info>callingallpapers parseCfPs<env></info> |
| 63 | 63 | EOT |
| 64 | - ); |
|
| 64 | + ); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -81,9 +81,9 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | $timezoneService = new TimezoneService(new Client(), $config['timezonedb_token']); |
| 83 | 83 | $parser = new LanyrdCfpParser($timezoneService); |
| 84 | - // $parser->parse($writer); |
|
| 84 | + // $parser->parse($writer); |
|
| 85 | 85 | $parser = new JoindinCfpParser(); |
| 86 | - // $parser->parse($writer); |
|
| 86 | + // $parser->parse($writer); |
|
| 87 | 87 | $factory = new PapercallIoParserFactory($timezoneService); |
| 88 | 88 | $parser = $factory(); |
| 89 | 89 | $parser->parse($writer); |