Skip to content

Commit

Permalink
Fix exception message when base class not found
Browse files Browse the repository at this point in the history
  • Loading branch information
bn-eolson committed Nov 9, 2015
1 parent a88fbfb commit b152c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b152c7c

Please sign in to comment.