Skip to content
Snippets Groups Projects
Commit 4deb4681 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

TASK: Make use of defined RULESET_FILENAME constants

parent 4a303fbc
Branches
Tags
No related merge requests found
......@@ -58,7 +58,7 @@ class Standard implements StandardInterface
}
$this->path = realpath($path);
$this->name = basename($this->path);
$this->ruleSetXmlPath = $path . DIRECTORY_SEPARATOR . 'ruleset.xml';
$this->ruleSetXmlPath = $path . DIRECTORY_SEPARATOR . static::RULESET_FILENAME;
if (!is_readable($this->ruleSetXmlPath)) {
throw new InvalidStandardException(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment