PHP Class SebastianBergmann\PHPCPD\Detector\Strategy\AbstractStrategy

Show file Open project: sebastianbergmann/phpcpd Class Usage Examples

Protected Properties

Property Type Description
$hashes string[]
$tokensIgnoreList List of tokens to ignore

Public Methods

Method Description
processFile ( string $file, integer $minLines, integer $minTokens, CodeCloneMap $result, boolean $fuzzy = false ) Copy & Paste Detection (CPD).

Method Details

processFile() abstract public method

Copy & Paste Detection (CPD).
abstract public processFile ( string $file, integer $minLines, integer $minTokens, CodeCloneMap $result, boolean $fuzzy = false )
$file string
$minLines integer
$minTokens integer
$result SebastianBergmann\PHPCPD\CodeCloneMap
$fuzzy boolean

Property Details

$hashes protected property

protected string[] $hashes
return string[]

$tokensIgnoreList protected property

List of tokens to ignore
protected $tokensIgnoreList