PHP Класс PhpCsFixer\Linter\ProcessLinter

Автор: Dariusz Rumiński ([email protected])
Наследование: implements PhpCsFixer\Linter\LinterInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string | null $executable = null )
__destruct ( )
isAsync ( )
lintFile ( $path )
lintSource ( $source )

Приватные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

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

__destruct() публичный Метод

public __destruct ( )

isAsync() публичный Метод

public isAsync ( )

lintFile() публичный Метод

public lintFile ( $path )

lintSource() публичный Метод

public lintSource ( $source )