Documentation

Runner
in package

Tags
author

Dariusz RumiƄski dariusz.ruminski@gmail.com

Table of Contents

$cacheManager  : CacheManagerInterface
$differ  : DifferInterface
$directory  : DirectoryInterface
$errorsManager  : ErrorsManager
$eventDispatcher  : null|EventDispatcherInterface
$finder  : Traversable
$fixers  : array<string|int, FixerInterface>
$isDryRun  : bool
$linter  : LinterInterface
$stopOnViolation  : bool
__construct()  : mixed
fix()  : array<string|int, mixed>
dispatchEvent()  : mixed
fixFile()  : mixed
processException()  : mixed
Process an exception that occurred.

Properties

$cacheManager

private CacheManagerInterface $cacheManager

$errorsManager

private ErrorsManager $errorsManager

$finder

private Traversable $finder

$isDryRun

private bool $isDryRun

$stopOnViolation

private bool $stopOnViolation

Methods

__construct()

public __construct(mixed $finder, array<string|int, mixed> $fixers, DifferInterface $differ[, EventDispatcherInterface $eventDispatcher = null ], ErrorsManager $errorsManager, LinterInterface $linter, mixed $isDryRun, CacheManagerInterface $cacheManager[, DirectoryInterface $directory = null ][, mixed $stopOnViolation = false ]) : mixed
Parameters
$finder : mixed
$fixers : array<string|int, mixed>
$differ : DifferInterface
$eventDispatcher : EventDispatcherInterface = null
$errorsManager : ErrorsManager
$linter : LinterInterface
$isDryRun : mixed
$cacheManager : CacheManagerInterface
$directory : DirectoryInterface = null
$stopOnViolation : mixed = false
Return values
mixed

fix()

public fix() : array<string|int, mixed>
Return values
array<string|int, mixed>

dispatchEvent()

private dispatchEvent(string $name, Event $event) : mixed
Parameters
$name : string
$event : Event
Return values
mixed

processException()

Process an exception that occurred.

private processException(string $name, Throwable $e) : mixed
Parameters
$name : string
$e : Throwable
Return values
mixed

Search results