Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PhpCsFixer
Test
IntegrationCaseFactory
determineRuleset
PhpCsFixer\Test\IntegrationCaseFactory::determineRuleset PHP Method
IntegrationCaseFactory Class Documentation
Show file
Open project: friendsofphp/php-cs-fixer
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)); }
IntegrationCaseFactory
create
determineCode
determineConfig
determineExpectedCode
determineInputCode
determineRequirements
determineRuleset
determineSettings
parseJson