메소드 |
설명 |
|
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 |
|
|