PHP Class Sstalle\php7cc\CLIResultPrinter

Inheritance: implements Sstalle\php7cc\ResultPrinterInterface
ファイルを表示 Open project: sstalle/php7cc

Protected Properties

Property Type Description
$nodeStatementsRemover Sstalle\php7cc\NodeStatementsRemover
$output Sstalle\php7cc\CLIOutputInterface
$prettyPrinter PhpParser\PrettyPrinter\Standard

Public Methods

Method Description
__construct ( Sstalle\php7cc\CLIOutputInterface $output, Standard $prettyPrinter, Sstalle\php7cc\NodeStatementsRemover $nodeStatementsRemover )
printContext ( Sstalle\php7cc\CompatibilityViolation\ContextInterface $context )
printMetadata ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $metadata )

Private Methods

Method Description
formatMessage ( Message $message ) : string

Method Details

__construct() public method

public __construct ( Sstalle\php7cc\CLIOutputInterface $output, Standard $prettyPrinter, Sstalle\php7cc\NodeStatementsRemover $nodeStatementsRemover )
$output Sstalle\php7cc\CLIOutputInterface
$prettyPrinter PhpParser\PrettyPrinter\Standard
$nodeStatementsRemover Sstalle\php7cc\NodeStatementsRemover

printContext() public method

public printContext ( Sstalle\php7cc\CompatibilityViolation\ContextInterface $context )
$context Sstalle\php7cc\CompatibilityViolation\ContextInterface

printMetadata() public method

public printMetadata ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $metadata )
$metadata Sstalle\php7cc\CompatibilityViolation\CheckMetadata

Property Details

$nodeStatementsRemover protected_oe property

protected NodeStatementsRemover,Sstalle\php7cc $nodeStatementsRemover
return Sstalle\php7cc\NodeStatementsRemover

$output protected_oe property

protected CLIOutputInterface,Sstalle\php7cc $output
return Sstalle\php7cc\CLIOutputInterface

$prettyPrinter protected_oe property

protected Standard,PhpParser\PrettyPrinter $prettyPrinter
return PhpParser\PrettyPrinter\Standard