PhpCsFixer\Test\IntegrationCaseFactory::determineRuleset PHP Method

determineRuleset() protected method

Parses the '--RULESET--' block of a '.test' file and determines what fixers should be used.
protected determineRuleset ( string $config ) : RuleSet
$config string
return PhpCsFixer\RuleSet
    protected function determineRuleset($config)
    {
        return new RuleSet($this->parseJson($config));
    }