$ecsConfig->
ruleWithConfiguration(BinaryOperatorSpacesFixer::
class,
[ 'operators' =>
[ '|' => null,
'&' => null,
],
]);
$parameters =
$ecsConfig->
parameters();
$parameters->
set(Option::CACHE_DIRECTORY,
$_SERVER['SHOPWARE_TOOL_CACHE_ECS'
] ?? 'var/cache/cs_fixer'
);
$parameters->
set(Option::CACHE_NAMESPACE, 'platform'
);
$ecsConfig->
parallel();
$ecsConfig->
skip([ // Fixture
'src/WebInstaller/Tests/_fixtures/Options.php',
ArrayOpenerAndCloserNewlineFixer::
class => null,
ArrayListItemNewlineFixer::
class => null,
SingleLineThrowFixer::
class => null,
SelfAccessorFixer::
class => null,
ExplicitIndirectVariableFixer::
class => null,
BlankLineAfterOpeningTagFixer::
class => null,