From d80468bf8152fc0fcf1892d6ce66ec785250bfe5 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sat, 10 May 2014 01:51:44 -0700 Subject: [PATCH] Make the methods of `ArcanistBaseXHPASTLinter` final. Summary: No subclass should need to override these methods. Additionally, none currently do. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9035 --- src/lint/linter/ArcanistBaseXHPASTLinter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lint/linter/ArcanistBaseXHPASTLinter.php b/src/lint/linter/ArcanistBaseXHPASTLinter.php index 99fd45a1..192a9443 100644 --- a/src/lint/linter/ArcanistBaseXHPASTLinter.php +++ b/src/lint/linter/ArcanistBaseXHPASTLinter.php @@ -5,7 +5,7 @@ */ abstract class ArcanistBaseXHPASTLinter extends ArcanistFutureLinter { - protected function raiseLintAtToken( + protected final function raiseLintAtToken( XHPASTToken $token, $code, $desc, @@ -18,7 +18,7 @@ abstract class ArcanistBaseXHPASTLinter extends ArcanistFutureLinter { $replace); } - protected function raiseLintAtNode( + protected final function raiseLintAtNode( XHPASTNode $node, $code, $desc,