PHP Class pchLintCheckImplementation, php-commit-hooks

Implements linter checks for all added or modified files.
Afficher le fichier Open project: kore/php-commit-hooks

Méthodes publiques

Méthode Description
lint ( string $file, string $contents ) : array Lint file contents

Method Details

lint() abstract public méthode

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
Résultat array