Skip to content

Commit 236ed22

Browse files
committed
fix: disable unused variables check as it has issues
1 parent 9e7a262 commit 236ed22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ecs.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,10 @@
269269
'closure_fn_spacing' => 'none',
270270
]);
271271

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

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

0 commit comments

Comments
 (0)