PHP 클래스 pchPhpLintCheck, php-commit-hooks

Implements linter checks for all added or modified files.
상속: extends pchLintCheckImplementation
파일 보기 프로젝트 열기: 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.
public lint ( string $file, string $contents ) : array
$file string
$contents string
리턴 array