phug-php/dev-tool

View on GitHub
src/Phug/DevTool/Application.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 18 of 18 total issues

Avoid assigning values to variables in if clauses and the like (line '96', column '15').
Open

protected function getShellCommandPath($command)
{
$cwd = $this->getWorkingDirectory();
$commandPath = $cwd."/$command";
 
 
Severity: Minor
Found in src/Phug/DevTool/Application.php by phpmd

Avoid assigning values to variables in if clauses and the like (line '92', column '36').
Open

protected function getShellCommandPath($command)
{
$cwd = $this->getWorkingDirectory();
$commandPath = $cwd."/$command";
 
 
Severity: Minor
Found in src/Phug/DevTool/Application.php by phpmd

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CoverageCheckCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Reference to undeclared class \Symfony\Component\Console\Application (Did you mean class \Phug\DevTool\Application)
Open

parent::__construct($name, $version);
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Class extends undeclared class \Symfony\Component\Console\Application (Did you mean class \Phug\DevTool\Application)
Open

class Application extends ConsoleApplication
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CodeStyleFixCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new InstallCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::find
Open

$command = $this->find($command);
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CheckCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to method __construct from undeclared class \Symfony\Component\Console\Input\ArrayInput
Open

return $command->run(new ArrayInput($arguments), $output);
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Reference to undeclared class \Symfony\Component\Console\Application (Did you mean class \Phug\DevTool\Application)
Open

return parent::run($input, $output);
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new UnitTestsRunCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CoverageReportPrepareCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Parameter $output has undeclared type ?\Symfony\Component\Console\Output\OutputInterface
Open

public function run(InputInterface $input = null, OutputInterface $output = null)
Severity: Minor
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CoverageReportCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Call to undeclared method \Phug\DevTool\Application::add
Open

$this->add(new CodeStyleCheckCommand());
Severity: Critical
Found in src/Phug/DevTool/Application.php by phan

Parameter $output has undeclared type \Symfony\Component\Console\Output\OutputInterface
Open

public function runCommand($command, OutputInterface $output, array $arguments = null)
Severity: Minor
Found in src/Phug/DevTool/Application.php by phan

Parameter $input has undeclared type ?\Symfony\Component\Console\Input\InputInterface
Open

public function run(InputInterface $input = null, OutputInterface $output = null)
Severity: Minor
Found in src/Phug/DevTool/Application.php by phan
Category
Status