PHP Class HippoPHP\Hippo\Checks\Style\VariableNamingCheck

Inheritance: extends HippoPHP\Hippo\Checks\AbstractCheck, implements HippoPHP\Hippo\Checks\CheckInterface
Show file Open project: hippophp/hippo

Protected Properties

Property Type Description
$ignoredVariables string[] Built in variables that could defy our pattern.
$pattern string Variable pattern.

Public Methods

Method Description
getConfigRoot ( )
setPattern ( string $pattern ) : void Sets the pattern to use for variable names.

Protected Methods

Method Description
checkFileInternal ( CheckContext $checkContext, Config $config ) checkFileInternal(): defined by AbstractCheck.

Method Details

checkFileInternal() protected method

checkFileInternal(): defined by AbstractCheck.
See also: AbstractCheck::checkFileInternal()
protected checkFileInternal ( CheckContext $checkContext, Config $config )
$checkContext HippoPHP\Hippo\CheckContext
$config HippoPHP\Hippo\Config\Config

getConfigRoot() public method

public getConfigRoot ( )

setPattern() public method

Sets the pattern to use for variable names.
public setPattern ( string $pattern ) : void
$pattern string
return void

Property Details

$ignoredVariables protected property

Built in variables that could defy our pattern.
protected string[] $ignoredVariables
return string[]

$pattern protected property

Variable pattern.
protected string $pattern
return string