Метод | Описание | |
---|---|---|
__construct ( PhpCsFixer\ConfigInterface $config, array $options, string $cwd ) | ConfigurationResolver constructor. | |
getCacheFile ( ) : string | null | ||
getCacheManager ( ) : PhpCsFixer\Cache\CacheManagerInterface | ||
getConfig ( ) : PhpCsFixer\ConfigInterface | Returns config instance. | |
getConfigFile ( ) : null | string | Returns config file path. | |
getDiffer ( ) : PhpCsFixer\Differ\DifferInterface | ||
getFinder ( ) | ||
getFixers ( ) : PhpCsFixer\Fixer\FixerInterface[] | Returns fixers. | |
getLinter ( ) : PhpCsFixer\Linter\LinterInterface | ||
getPath ( ) : string[] | Returns path. | |
getProgress ( ) : boolean | Returns progress flag. | |
getReporter ( ) : PhpCsFixer\Report\ReporterInterface | ||
getRiskyAllowed ( ) : boolean | ||
getRules ( ) : array | Returns rules. | |
getUsingCache ( ) : boolean | ||
isDryRun ( ) : boolean | Returns dry-run flag. |
Метод | Описание | |
---|---|---|
computeConfigFiles ( ) : string[] | Compute file candidates for config file. | |
getFormat ( ) : string | ||
getRuleSet ( ) | ||
isStdIn ( ) : boolean | ||
iterableToTraversable ( iterable $iterable ) : Traversable | ||
parseRules ( ) : array | Compute rules. | |
resolveFinder ( ) | Apply path on config instance. | |
setOption ( string $name, mixed $value ) | Set option that will be resolved. |
public __construct ( PhpCsFixer\ConfigInterface $config, array $options, string $cwd ) | ||
$config | PhpCsFixer\ConfigInterface | |
$options | array | |
$cwd | string |
public getCacheManager ( ) : PhpCsFixer\Cache\CacheManagerInterface | ||
Результат | PhpCsFixer\Cache\CacheManagerInterface |
public getConfig ( ) : PhpCsFixer\ConfigInterface | ||
Результат | PhpCsFixer\ConfigInterface |
public getConfigFile ( ) : null | string | ||
Результат | null | string |
public getDiffer ( ) : PhpCsFixer\Differ\DifferInterface | ||
Результат | PhpCsFixer\Differ\DifferInterface |
public getFixers ( ) : PhpCsFixer\Fixer\FixerInterface[] | ||
Результат | PhpCsFixer\Fixer\FixerInterface[] | An array of FixerInterface |
public getLinter ( ) : PhpCsFixer\Linter\LinterInterface | ||
Результат | PhpCsFixer\Linter\LinterInterface |
public getProgress ( ) : boolean | ||
Результат | boolean |
public getReporter ( ) : PhpCsFixer\Report\ReporterInterface | ||
Результат | PhpCsFixer\Report\ReporterInterface |