PHP Class GrumPHP\Task\JsonLint

Inheritance: extends AbstractLinterTask
Show file Open project: phpro/grumphp

Protected Properties

Property Type Description
$linter GrumPHP\Linter\Json\JsonLinter

Public Methods

Method Description
canRunInContext ( GrumPHP\Task\Context\ContextInterface $context )
getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
getName ( ) : string
run ( GrumPHP\Task\Context\ContextInterface $context )

Method Details

canRunInContext() public method

public canRunInContext ( GrumPHP\Task\Context\ContextInterface $context )
$context GrumPHP\Task\Context\ContextInterface

getConfigurableOptions() public method

public getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
return Symfony\Component\OptionsResolver\OptionsResolver

getName() public method

public getName ( ) : string
return string

run() public method

public run ( GrumPHP\Task\Context\ContextInterface $context )
$context GrumPHP\Task\Context\ContextInterface

Property Details

$linter protected property

protected JsonLinter,GrumPHP\Linter\Json $linter
return GrumPHP\Linter\Json\JsonLinter