PHP Класс pchCodeSnifferCheck, php-commit-hooks

Implements linter checks for all added or modified files.
Наследование: extends pchCheck
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$standard array Configured standard to check files with

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

Метод Описание
__construct ( string $standard ) : void Construct from CodeSniffer standard name
validate ( pchRepository $repository ) : void Validate the current check

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

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

Construct from CodeSniffer standard name
public __construct ( string $standard ) : void
$standard string
Результат void

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

Validate the check on the specified repository. Returns an array of found issues.
public validate ( pchRepository $repository ) : void
$repository pchRepository
Результат void

Описание свойств

$standard защищенное свойство

Configured standard to check files with
protected array $standard
Результат array