Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
pchSieveLintCheck
PHP Class pchSieveLintCheck, php-commit-hooks
Implements linter checks for all added or modified files.
Inheritance:
extends
pchLintCheckImplementation
Mostra file
Open project: kore/php-commit-hooks
Class Usage Examples
Public Methods
Method
Description
lint
(
string
$file
,
string
$contents
) :
array
Lint file contents
Method Details
lint()
public
method
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
return
array