Classes
LintPhpCommand
extends Command
in package
Class LintPhpCommand runs phplint on project files
Table of Contents
- $defaultName : string
- Default static name for this command
- $logger : LoggerInterface
- PSR Compliant Logger feature integrated with application main log file
- $params : ParameterBagInterface
- Application parameters from configuration files
- __construct() : mixed
- LintPhpCommand constructor.
- configure() : mixed
- Configure the options for this command
- execute() : mixed
- Run the phpstan report with desired options using Bash command line
Properties
$defaultName
Default static name for this command
protected
static string
$defaultName
= 'lint:php'
$logger
PSR Compliant Logger feature integrated with application main log file
private
LoggerInterface
$logger
$params
Application parameters from configuration files
private
ParameterBagInterface
$params
Methods
__construct()
LintPhpCommand constructor.
public
__construct([null $name = NULL ], LoggerInterface $logger, ParameterBagInterface $params) : mixed
Parameters
- $name : null = NULL
- $logger : LoggerInterface
- $params : ParameterBagInterface
Return values
mixed —configure()
Configure the options for this command
protected
configure() : mixed
Return values
mixed —execute()
Run the phpstan report with desired options using Bash command line
protected
execute(InputInterface $input, OutputInterface $output[, string|null $name = null ]) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
- $name : string|null = null