From b152c7c5550c020290bff2f892be92ebb8261ae3 Mon Sep 17 00:00:00 2001 From: Eric Olson Date: Mon, 9 Nov 2015 13:12:32 -0500 Subject: [PATCH] Fix exception message when base class not found --- .../Barracuda/Sniffs/Functions/FunctionDeclarationSniff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHP_CodeSniffer/Barracuda/Sniffs/Functions/FunctionDeclarationSniff.php b/PHP_CodeSniffer/Barracuda/Sniffs/Functions/FunctionDeclarationSniff.php index 16949e3..dd7fa20 100644 --- a/PHP_CodeSniffer/Barracuda/Sniffs/Functions/FunctionDeclarationSniff.php +++ b/PHP_CodeSniffer/Barracuda/Sniffs/Functions/FunctionDeclarationSniff.php @@ -13,7 +13,7 @@ */ if (class_exists('PEAR_Sniffs_Functions_FunctionDeclarationSniff', true) === false) { - $error = 'Class Barracuda_Sniffs_Functions_FunctionDeclarationSniff not found'; + $error = 'Class PEAR_Sniffs_Functions_FunctionDeclarationSniff not found'; throw new PHP_CodeSniffer_Exception($error); }