LintPhpCommand

Extends \Symfony\Component\Console\Command\Command

Class LintPhpCommand runs phplint on project files

package

App\Command

Methods

LintPhpCommand constructor.

__construct(null $name = NULL, \Psr\Log\LoggerInterface $logger, \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $params) 

Arguments

$name

null

$logger

\Psr\Log\LoggerInterface

$params

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface

Configure the options for this command

configure() 

Run the phpstan report with desired options using Bash command line

execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output, string|NULL $name = null) 

Arguments

$input

\Symfony\Component\Console\Input\InputInterface

$output

\Symfony\Component\Console\Output\OutputInterface

$name

string|NULL

Properties

Default static name for this command

defaultName : string
static
var

Type(s)

string

PSR Compliant Logger feature integrated with application main log file

logger : \Psr\Log\LoggerInterface
var

Type(s)

\Psr\Log\LoggerInterface

Application parameters from configuration files

params : \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
var

Type(s)

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface