PHP Class Psecio\Parse\Rule\HardcodedSensitiveValues

Long description missing...
Inheritance: implements Psecio\Parse\RuleInterface, use trait Psecio\Parse\Rule\Helper\NameTrait, use trait Psecio\Parse\Rule\Helper\DocblockDescriptionTrait, use trait Psecio\Parse\Rule\Helper\IsExpressionTrait, use trait Psecio\Parse\Rule\Helper\IsFunctionCallTrait
Show file Open project: psecio/parse

Public Methods

Method Description
isSensitiveName ( $name )
isValid ( PhpParser\Node $node )

Protected Methods

Method Description
endsWith ( $haystack, $needle )
getNameAndValue ( $node )
matchSearchList ( $name, $list )
startsWith ( $haystack, $needle )

Method Details

endsWith() protected method

protected endsWith ( $haystack, $needle )

getNameAndValue() protected method

protected getNameAndValue ( $node )

isSensitiveName() public method

public isSensitiveName ( $name )

isValid() public method

public isValid ( PhpParser\Node $node )
$node PhpParser\Node

matchSearchList() protected method

protected matchSearchList ( $name, $list )

startsWith() protected method

protected startsWith ( $haystack, $needle )