PhpFixerRunner
class PhpFixerRunner (View source)
Wrapper to PHP-CS-Fixer.
Properties
protected PhpFixerRuleResolver | $ruleResolver | ||
protected EventDispatcher | $eventDispatcher | ||
protected array | $steps | ||
protected ErrorsManager | $errorManager | ||
private string|null | $phpCSFixerVersion |
Methods
getEventDispatcher()
No description
$this
$this
resetSteps()
No description
ErrorsManager
getErrorManager()
No description
int
calculateNumberOfFiles()
No description
array
apply(bool $dryRun)
No description
array|void[]|null[]|string[][]|string[][][]
Finder
CacheManagerInterface
string
resetErrors()
No description
string
getPhpCSFixerVersion()
No description
expandFinder(int $stepIndex)
No description
Details
__construct(PhpFixerRuleResolver $ruleResolver, EventDispatcher $eventDispatcher)
No description
EventDispatcher
getEventDispatcher()
No description
$this
addStep(PhpFixerOptions $options, array $paths, int $flags)
No description
$this
resetSteps()
No description
ErrorsManager
getErrorManager()
No description
int
calculateNumberOfFiles()
No description
array
apply(bool $dryRun)
No description
protected array|void[]|null[]|string[][]|string[][][]
applyStep(PhpFixerOptions $options, Traversable $finder, int $flags, bool $dryRun)
No description
protected Finder
createFinder(PhpFixerOptions $options, array $paths)
No description
protected CacheManagerInterface
createCacheManager(PhpFixerOptions $options, int $flags, bool $dryRun, array $rules)
No description
protected string
getCacheFilename(PhpFixerOptions $options, int $flags)
No description
protected
resetErrors()
No description
protected string
getPhpCSFixerVersion()
No description
private
expandFinder(int $stepIndex)
No description