PHP Class PhpCsFixer\Linter\ProcessLinter

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

Public Methods

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

Private Methods

Method 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 method

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

__destruct() public method

public __destruct ( )

isAsync() public method

public isAsync ( )

lintFile() public method

public lintFile ( $path )

lintSource() public method

public lintSource ( $source )