Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Nov 25, 2019
1 parent 34d8def commit 552f3bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .php_cs
Expand Up @@ -131,12 +131,12 @@ return PhpCsFixer\Config::create()
] + \array_reduce(
\iterator_to_array(new PhpCsFixerCustomFixers\Fixers()),
static function (array $carry, PhpCsFixer\Fixer\DefinedFixerInterface $fixer): array {
if ($fixer instanceof PhpCsFixerCustomFixers\Fixer\NoReferenceInFunctionDefinitionFixer) {
if ($fixer instanceof PhpCsFixer\Fixer\DeprecatedFixerInterface) {
return $carry;
}

if (!$fixer instanceof PhpCsFixer\Fixer\DeprecatedFixerInterface) {
$carry[$fixer->getName()] = true;
if ($fixer instanceof PhpCsFixerCustomFixers\Fixer\NoReferenceInFunctionDefinitionFixer) {
return $carry;
}

if ($fixer instanceof PhpCsFixerCustomFixers\Fixer\PhpdocOnlyAllowedAnnotationsFixer) {
Expand Down

0 comments on commit 552f3bf

Please sign in to comment.