Skip to content

Commit 56fcc1a

Browse files
committed
AC-2222: [UCT Autofixing] PHPCompatibility.ForbiddenFinalPrivateMethods
1 parent 4216638 commit 56fcc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/PHPCompatibility/ForbiddenFinalPrivateMethodsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function process(File $phpcsFile, $stackPtr)
8383
// Not a private final method.
8484
return;
8585
}
86-
$phpcsFile->fixer->enabled = true;
86+
8787
if ($phpcsFile->addFixableWarning(self::MESSAGE_FINAL, $stackPtr, 'Found') === true) {
8888
$phpcsFile->fixer->beginChangeset();
8989
$prev = $phpcsFile->findPrevious(\T_FINAL, ($stackPtr - 1));

0 commit comments

Comments
 (0)