PHP Class PhpCsFixer\Runner\Runner

Author: Dariusz Rumiński ([email protected])
Mostra file Open project: friendsofphp/php-cs-fixer Class Usage Examples

Public Methods

Method Description
__construct ( $finder, array $fixers, PhpCsFixer\Differ\DifferInterface $differ, EventDispatcher $eventDispatcher = null, PhpCsFixer\Error\ErrorsManager $errorsManager, PhpCsFixer\Linter\LinterInterface $linter, $isDryRun, PhpCsFixer\Cache\CacheManagerInterface $cacheManager )
fix ( ) : array

Private Methods

Method Description
dispatchEvent ( string $name, Symfony\Component\EventDispatcher\Event $event ) Dispatch event.
fixFile ( SplFileInfo $file, PhpCsFixer\Linter\LintingResultInterface $lintingResult )
getFileRelativePathname ( SplFileInfo $file )
processException ( string $name ) Process an exception that occurred.

Method Details

__construct() public method

public __construct ( $finder, array $fixers, PhpCsFixer\Differ\DifferInterface $differ, EventDispatcher $eventDispatcher = null, PhpCsFixer\Error\ErrorsManager $errorsManager, PhpCsFixer\Linter\LinterInterface $linter, $isDryRun, PhpCsFixer\Cache\CacheManagerInterface $cacheManager )
$fixers array
$differ PhpCsFixer\Differ\DifferInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcher
$errorsManager PhpCsFixer\Error\ErrorsManager
$linter PhpCsFixer\Linter\LinterInterface
$cacheManager PhpCsFixer\Cache\CacheManagerInterface

fix() public method

public fix ( ) : array
return array