From fed288d30a7c246272e9ecd39714d34a8ee5c6b5 Mon Sep 17 00:00:00 2001 From: Walt Sorensen Date: Thu, 8 Feb 2018 18:02:29 -0700 Subject: [PATCH] Backport Fixed bug #1890 --- .../Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php b/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php index 6dd3263aec..57106427bf 100644 --- a/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php +++ b/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php @@ -47,6 +47,7 @@ public function register() return array( T_TRY, T_CATCH, + T_FINALLY, T_DO, T_WHILE, T_FOR,