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

Implements linter checks for all added or modified files.
Показать файл Открыть проект

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

Метод Описание
lint ( string $file, string $contents ) : array Lint file contents

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

lint() абстрактный публичный Метод

If issues with the passed file are found the function will return an array with the found issues, and an empty array otherwise.
abstract public lint ( string $file, string $contents ) : array
$file string
$contents string
Результат array