PHP Class PhpCsFixer\Linter\ProcessLinter

Author: Dariusz Rumiński ([email protected])
Inheritance: implements PhpCsFixer\Linter\LinterInterface
Afficher le fichier Open project: friendsofphp/php-cs-fixer Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string | null $executable = null )
__destruct ( )
isAsync ( )
lintFile ( $path )
lintSource ( $source )

Private Methods

Méthode Description
createProcessForFile ( string $path ) : Process Create process that lint PHP file.
createProcessForSource ( string $source ) : Process Create process that lint PHP code.
prepareCommand ( string $path ) : string Prepare command that will lint a file.

Method Details

__construct() public méthode

public __construct ( string | null $executable = null )
$executable string | null PHP executable, null for autodetection

__destruct() public méthode

public __destruct ( )

isAsync() public méthode

public isAsync ( )

lintFile() public méthode

public lintFile ( $path )

lintSource() public méthode

public lintSource ( $source )