diff --git a/build/phpcs/Joomla/Sniffs/Commenting/ClassCommentSniff.php b/build/phpcs/Joomla/Sniffs/Commenting/ClassCommentSniff.php index aad9a01330f07..ed3d68163d279 100644 --- a/build/phpcs/Joomla/Sniffs/Commenting/ClassCommentSniff.php +++ b/build/phpcs/Joomla/Sniffs/Commenting/ClassCommentSniff.php @@ -14,11 +14,11 @@ * @link http://pear.php.net/package/PHP_CodeSniffer */ -if (class_exists('PHP_CodeSniffer_CommentParser_ClassCommentParser', true) === false) { - $error = 'Class PHP_CodeSniffer_CommentParser_ClassCommentParser not found'; - throw new PHP_CodeSniffer_Exception($error); -} - +/**if (class_exists('PHP_CodeSniffer_CommentParser_ClassCommentParser', true) === false) { +* $error = 'Class PHP_CodeSniffer_CommentParser_ClassCommentParser not found'; +* throw new PHP_CodeSniffer_Exception($error); +*} +*/ require_once 'FileCommentSniff.php'; if (class_exists('Joomla_Sniffs_Commenting_FileCommentSniff', true) === false) {