void __construct(
string
$path, Ruleset
$ruleset, Config
$config)
Creates a LocalFile object and sets the content.
Overrides
File::__construct() (Constructs a file.)
Parameters:
string
$path
—
The absolute path to the file.
\PHP_CodeSniffer\Ruleset
$ruleset
—
The ruleset used for the run.
\PHP_CodeSniffer\Config
$config
—
The config data for the run.