PHP Class Sstalle\php7cc\CLIResultPrinter

Inheritance: implements Sstalle\php7cc\ResultPrinterInterface
Afficher le fichier Open project: sstalle/php7cc

Protected Properties

Свойство Type Description
$nodeStatementsRemover Sstalle\php7cc\NodeStatementsRemover
$output Sstalle\php7cc\CLIOutputInterface
$prettyPrinter PhpParser\PrettyPrinter\Standard

Méthodes publiques

Méthode 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

Méthode Description
formatMessage ( Message $message ) : string

Method Details

__construct() public méthode

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 méthode

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

printMetadata() public méthode

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

Property Details

$nodeStatementsRemover protected_oe property

protected NodeStatementsRemover,Sstalle\php7cc $nodeStatementsRemover
Résultat Sstalle\php7cc\NodeStatementsRemover

$output protected_oe property

protected CLIOutputInterface,Sstalle\php7cc $output
Résultat Sstalle\php7cc\CLIOutputInterface

$prettyPrinter protected_oe property

protected Standard,PhpParser\PrettyPrinter $prettyPrinter
Résultat PhpParser\PrettyPrinter\Standard