PHP Interface HippoPHP\Hippo\Checks\CheckInterface

Rules implementing this interface will be visited for every file.
Author: James Brooks ([email protected])
Show file Open project: hippophp/hippo

Public Methods

Method Description
checkFile ( CheckContext $checkContext, Config $config ) : CheckResult Checks a file.
getConfigRoot ( ) : string Returns the configuration root.

Method Details

checkFile() public method

Checks a file.
public checkFile ( CheckContext $checkContext, Config $config ) : CheckResult
$checkContext HippoPHP\Hippo\CheckContext
$config HippoPHP\Hippo\Config\Config
return HippoPHP\Hippo\CheckResult

getConfigRoot() public method

Returns the configuration root.
public getConfigRoot ( ) : string
return string