PhpCsFixer\RuleSet::getRuleConfiguration PHP Method

getRuleConfiguration() public method

public getRuleConfiguration ( $rule )
    public function getRuleConfiguration($rule)
    {
        if (!$this->hasRule($rule)) {
            throw new \InvalidArgumentException(sprintf('Rule "%s" is not in the set.', $rule));
        }
        if ($this->rules[$rule] === true) {
            return;
        }
        return $this->rules[$rule];
    }