PHP Class PhpCsFixer\Config

Author: Fabien Potencier ([email protected])
Author: Katsuhiro Ogawa ([email protected])
Author: Dariusz Rumiński ([email protected])
Inheritance: implements phpcsfixer\ConfigInterface
Exibir arquivo Open project: friendsofphp/php-cs-fixer Class Usage Examples

Public Methods

Method Description
__construct ( $name = 'default' )
create ( ) : static
getCacheFile ( )
getCustomFixers ( )
getFinder ( )
getFormat ( )
getHideProgress ( )
getIndent ( )
getLineEnding ( )
getName ( )
getPhpExecutable ( )
getRiskyAllowed ( )
getRules ( )
getUsingCache ( )
registerCustomFixers ( $fixers )
setCacheFile ( $cacheFile )
setFinder ( $finder )
setFormat ( $format )
setHideProgress ( $hideProgress )
setIndent ( $indent )
setLineEnding ( $lineEnding )
setPhpExecutable ( $phpExecutable )
setRiskyAllowed ( $isRiskyAllowed )
setRules ( array $rules )
setUsingCache ( $usingCache )

Private Methods

Method Description
addCustomFixer ( PhpCsFixer\Fixer\FixerInterface $fixer )

Method Details

__construct() public method

public __construct ( $name = 'default' )

create() public static method

public static create ( ) : static
return static

getCacheFile() public method

public getCacheFile ( )

getCustomFixers() public method

public getCustomFixers ( )

getFinder() public method

public getFinder ( )

getFormat() public method

public getFormat ( )

getHideProgress() public method

public getHideProgress ( )

getIndent() public method

public getIndent ( )

getLineEnding() public method

public getLineEnding ( )

getName() public method

public getName ( )

getPhpExecutable() public method

public getPhpExecutable ( )

getRiskyAllowed() public method

public getRiskyAllowed ( )

getRules() public method

public getRules ( )

getUsingCache() public method

public getUsingCache ( )

registerCustomFixers() public method

public registerCustomFixers ( $fixers )

setCacheFile() public method

public setCacheFile ( $cacheFile )

setFinder() public method

public setFinder ( $finder )

setFormat() public method

public setFormat ( $format )

setHideProgress() public method

public setHideProgress ( $hideProgress )

setIndent() public method

public setIndent ( $indent )

setLineEnding() public method

public setLineEnding ( $lineEnding )

setPhpExecutable() public method

public setPhpExecutable ( $phpExecutable )

setRiskyAllowed() public method

public setRiskyAllowed ( $isRiskyAllowed )

setRules() public method

public setRules ( array $rules )
$rules array

setUsingCache() public method

public setUsingCache ( $usingCache )