Runner
in package
FinalYes
Tags
Table of Contents
Methods
- __construct() : mixed
-
fix()
: array<string, array{appliedFixers: list
, diff: string}>
Methods
__construct()
public
__construct(Traversable<string|int, SplFileInfo> $finder, array<int, FixerInterface> $fixers, DifferInterface $differ, EventDispatcherInterface|null $eventDispatcher, ErrorsManager $errorsManager, LinterInterface $linter, bool $isDryRun, CacheManagerInterface $cacheManager[, DirectoryInterface|null $directory = null ][, bool $stopOnViolation = false ]) : mixed
Parameters
- $finder : Traversable<string|int, SplFileInfo>
- $fixers : array<int, FixerInterface>
- $differ : DifferInterface
- $eventDispatcher : EventDispatcherInterface|null
- $errorsManager : ErrorsManager
- $linter : LinterInterface
- $isDryRun : bool
- $cacheManager : CacheManagerInterface
- $directory : DirectoryInterface|null = null
- $stopOnViolation : bool = false
fix()
public
fix() : array<string, array{appliedFixers: list, diff: string}>