src/Sesame/Command/CrawlArticleCommand.php
Class extends undeclared class \Symfony\Component\Console\Command\Command
Open
Open
class CrawlArticleCommand extends Command
- Exclude checks
Call to method writeln
from undeclared class \Symfony\Component\Console\Output\OutputInterface
Open
Open
$output->writeln($exception->getMessage());
- Exclude checks
Parameter $input
has undeclared type \Symfony\Component\Console\Input\InputInterface
Open
Open
protected function execute(InputInterface $input, OutputInterface $output): int
- Exclude checks
Call to method request
from undeclared class \GuzzleHttp\Client
Open
Open
$response = $client->request('GET', $articleUrl);
- Exclude checks
Call to method __construct
from undeclared class \GuzzleHttp\Client
Open
Open
$client = new Client();
- Exclude checks
Call to undeclared method \Sesame\Command\CrawlArticleCommand::setName
Open
Open
$this
- Exclude checks
Call to method getArgument
from undeclared class \Symfony\Component\Console\Input\InputInterface
Open
Open
$articleUrl = $input->getArgument('articleUrl');
- Exclude checks
Reference to constant REQUIRED
from undeclared class \Symfony\Component\Console\Input\InputArgument
Open
Open
InputArgument::REQUIRED,
- Exclude checks
Reference to constant VALUE_REQUIRED
from undeclared class \Symfony\Component\Console\Input\InputOption
Open
Open
InputOption::VALUE_REQUIRED,
- Exclude checks
Call to method getOption
from undeclared class \Symfony\Component\Console\Input\InputInterface
Open
Open
$crawlVariations = $input->getOption('crawlVariations');
- Exclude checks
Reference to undeclared class \Symfony\Component\Console\Command\Command
Open
Open
parent::__construct($name);
- Exclude checks
Parameter $output
has undeclared type \Symfony\Component\Console\Output\OutputInterface
Open
Open
protected function execute(InputInterface $input, OutputInterface $output): int
- Exclude checks
Line exceeds 120 characters; contains 185 characters Open
Open
'With this option you can control if Sesame will crawl the variations for the article too. Syntax "-cv0" to ignore variations or "--crawlVariations=1" to include them.',
- Exclude checks