PHP Class GrumPHP\Formatter\PhpCsFixerFormatter

Inheritance: implements GrumPHP\Formatter\ProcessFormatterInterface
Afficher le fichier Open project: phpro/grumphp Class Usage Examples

Méthodes publiques

Méthode Description
format ( Process $process ) : string
formatErrorMessage ( array $messages, array $suggestions ) : string
formatSuggestion ( Process $process ) : string
resetCounter ( ) Resets the internal counter.

Private Methods

Méthode Description
formatFile ( array $file ) : string
formatJsonResponse ( array $json ) : string

Method Details

format() public méthode

public format ( Process $process ) : string
$process Symfony\Component\Process\Process
Résultat string

formatErrorMessage() public méthode

public formatErrorMessage ( array $messages, array $suggestions ) : string
$messages array
$suggestions array
Résultat string

formatSuggestion() public méthode

public formatSuggestion ( Process $process ) : string
$process Symfony\Component\Process\Process
Résultat string

resetCounter() public méthode

Resets the internal counter.
public resetCounter ( )