Skip to content

Commit

Permalink
fix: disable unused variables check as it has issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterRO94 committed Feb 19, 2024
1 parent 9e7a262 commit 236ed22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,10 @@
'closure_fn_spacing' => 'none',
]);

$ecsConfig->ruleWithConfiguration(UnusedVariableSniff::class, [
'ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach' => true,
]);
// Disabled as has issues.
//$ecsConfig->ruleWithConfiguration(UnusedVariableSniff::class, [
// 'ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach' => true,
//]);

$ecsConfig->ruleWithConfiguration(MultilineWhitespaceBeforeSemicolonsFixer::class, ['strategy' => 'no_multi_line']);

Expand Down

0 comments on commit 236ed22

Please sign in to comment.