PHP Interface PhpCsFixer\Fixer\ConfigurableFixerInterface

Author: Dariusz Rumiński ([email protected])
Author: SpacePossum
Inheritance: extends PhpCsFixer\Fixer\FixerInterface
Exibir arquivo Open project: friendsofphp/php-cs-fixer

Public Methods

Method Description
configure ( array $configuration = null ) Set configuration.

Method Details

configure() public method

New configuration must override current one, not patch it. Using null makes fixer to use default configuration (or reset configuration from previously configured back to default one). Some fixers may have no configuration, then - simply pass null. Other ones may have configuration that will change behavior of fixer, eg php_unit_strict fixer allows to configure which methods should be fixed. Finally, some fixers need configuration to work, eg header_comment.
public configure ( array $configuration = null )
$configuration array configuration depends on Fixer