Méthode | Description | |
---|---|---|
getCacheFile ( ) : string | null | Returns the path to the cache file. | |
getCustomFixers ( ) : PhpCsFixer\Fixer\FixerInterface[] | Returns the custom fixers to use. | |
getFinder ( ) : iterable | Traversable | string[] | Returns files to scan. | |
getFormat ( ) : string | ||
getHideProgress ( ) : boolean | Returns true if progress should be hidden. | |
getIndent ( ) : string | ||
getLineEnding ( ) : string | ||
getName ( ) : string | Returns the name of the configuration. | |
getPhpExecutable ( ) : string | null | Get configured PHP executable, if any. | |
getRiskyAllowed ( ) : boolean | Check if it is allowed to run risky fixers. | |
getRules ( ) : array | Get rules. | |
getUsingCache ( ) : boolean | Returns true if caching should be enabled. | |
registerCustomFixers ( iterable | Traversable | PhpCsFixer\Fixer\FixerInterface[] $fixers ) | Adds a suite of custom fixers. | |
setCacheFile ( string $cacheFile ) : self | Sets the path to the cache file. | |
setFinder ( iterable | Traversable | string[] $finder ) : self | ||
setFormat ( string $format ) : self | ||
setHideProgress ( boolean $hideProgress ) : self | ||
setIndent ( string $indent ) : self | ||
setLineEnding ( string $lineEnding ) : self | ||
setPhpExecutable ( string | null $phpExecutable ) : self | Set PHP executable. | |
setRiskyAllowed ( boolean $isRiskyAllowed ) : self | Set if it is allowed to run risky fixers. | |
setRules ( array $rules ) : self | Set rules. | |
setUsingCache ( boolean $usingCache ) : self |
public getCacheFile ( ) : string | null | ||
Résultat | string | null | Returns null if not using cache |
public getCustomFixers ( ) : PhpCsFixer\Fixer\FixerInterface[] | ||
Résultat | PhpCsFixer\Fixer\FixerInterface[] |
public getFinder ( ) : iterable | Traversable | string[] | ||
Résultat | iterable | Traversable | string[] |
public getHideProgress ( ) : boolean | ||
Résultat | boolean |
public getPhpExecutable ( ) : string | null | ||
Résultat | string | null |
public getRiskyAllowed ( ) : boolean | ||
Résultat | boolean |
public getUsingCache ( ) : boolean | ||
Résultat | boolean |
public registerCustomFixers ( iterable | Traversable | PhpCsFixer\Fixer\FixerInterface[] $fixers ) | ||
$fixers | iterable | Traversable | PhpCsFixer\Fixer\FixerInterface[] |
public setCacheFile ( string $cacheFile ) : self | ||
$cacheFile | string | |
Résultat | self |
public setFinder ( iterable | Traversable | string[] $finder ) : self | ||
$finder | iterable | Traversable | string[] | |
Résultat | self |
public setHideProgress ( boolean $hideProgress ) : self | ||
$hideProgress | boolean | |
Résultat | self |
public setLineEnding ( string $lineEnding ) : self | ||
$lineEnding | string | |
Résultat | self |
public setPhpExecutable ( string | null $phpExecutable ) : self | ||
$phpExecutable | string | null | |
Résultat | self |
public setRiskyAllowed ( boolean $isRiskyAllowed ) : self | ||
$isRiskyAllowed | boolean | |
Résultat | self |
public setUsingCache ( boolean $usingCache ) : self | ||
$usingCache | boolean | |
Résultat | self |