PhpFixerRuleResolver
class PhpFixerRuleResolver (View source)
Constants
protected INVARIANT_RULES |
PHP-CS-Fixer rules that can be safely applied to all files. In order to view/edit them, open https://mlocati.github.io/php-cs-fixer-configurator/#configurator and paste there this array. |
Properties
private FixerFactory | $fixerFactory |
Methods
__construct(FixerFactory $fixerFactory)
No description
string
describeFlags(int $flags)
Get a description of the specified flags.
array
getRules(int $flags, bool $onlyAvailableOnes, string $minimumPhpVersion = '')
Get the rules associated to specific flags.
FixerInterface[]
getFixers(array $rules)
Resolve the fixers associated to the rules.
FixerFactory
getFixerFactory()
No description
Details
__construct(FixerFactory $fixerFactory)
No description
string
describeFlags(int $flags)
Get a description of the specified flags.
array
getRules(int $flags, bool $onlyAvailableOnes, string $minimumPhpVersion = '')
Get the rules associated to specific flags.
FixerInterface[]
getFixers(array $rules)
Resolve the fixers associated to the rules.
protected FixerFactory
getFixerFactory()
No description