src/Phug/DevTool/Application.php
Showing 18 of 18 total issues
Avoid assigning values to variables in if clauses and the like (line '96', column '15'). Open
Open
protected function getShellCommandPath($command) { $cwd = $this->getWorkingDirectory(); $commandPath = $cwd."/$command";
- Read upRead up
- Exclude checks
Avoid assigning values to variables in if clauses and the like (line '92', column '36'). Open
Open
protected function getShellCommandPath($command) { $cwd = $this->getWorkingDirectory(); $commandPath = $cwd."/$command";
- Read upRead up
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CoverageCheckCommand());
- Exclude checks
Reference to undeclared class \Symfony\Component\Console\Application
(Did you mean class \Phug\DevTool\Application) Open
Open
parent::__construct($name, $version);
- Exclude checks
Class extends undeclared class \Symfony\Component\Console\Application
(Did you mean class \Phug\DevTool\Application) Open
Open
class Application extends ConsoleApplication
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CodeStyleFixCommand());
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new InstallCommand());
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::find
Open
Open
$command = $this->find($command);
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CheckCommand());
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\Console\Input\ArrayInput
Open
Open
return $command->run(new ArrayInput($arguments), $output);
- Exclude checks
Reference to undeclared class \Symfony\Component\Console\Application
(Did you mean class \Phug\DevTool\Application) Open
Open
return parent::run($input, $output);
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new UnitTestsRunCommand());
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CoverageReportPrepareCommand());
- Exclude checks
Parameter $output
has undeclared type ?\Symfony\Component\Console\Output\OutputInterface
Open
Open
public function run(InputInterface $input = null, OutputInterface $output = null)
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CoverageReportCommand());
- Exclude checks
Call to undeclared method \Phug\DevTool\Application::add
Open
Open
$this->add(new CodeStyleCheckCommand());
- Exclude checks
Parameter $output
has undeclared type \Symfony\Component\Console\Output\OutputInterface
Open
Open
public function runCommand($command, OutputInterface $output, array $arguments = null)
- Exclude checks
Parameter $input
has undeclared type ?\Symfony\Component\Console\Input\InputInterface
Open
Open
public function run(InputInterface $input = null, OutputInterface $output = null)
- Exclude checks