PHP 클래스 pchLintCheckImplementation, php-commit-hooks

Implements linter checks for all added or modified files.
파일 보기 프로젝트 열기: kore/php-commit-hooks

공개 메소드들

메소드 설명
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