diff --git a/package.xml b/package.xml index 344b370159..32455dc175 100644 --- a/package.xml +++ b/package.xml @@ -39,6 +39,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> - Fixed bug #15383 : Uncaught PHP_CodeSniffer_Exception - Fixed bug #15408 : An unexpected exception has been caught: Undefined offset: 2 - Fixed bug #15519 : Uncaught PHP_CodeSniffer_Exception + - Fixed bug #15624 : Pre-commit hook fails with PHP errors diff --git a/scripts/phpcs-svn-pre-commit b/scripts/phpcs-svn-pre-commit index 1638586112..5137b4d055 100755 --- a/scripts/phpcs-svn-pre-commit +++ b/scripts/phpcs-svn-pre-commit @@ -151,7 +151,13 @@ class PHP_CodeSniffer_SVN_Hook extends PHP_CodeSniffer_CLI $phpcs->processFile($path, $contents); }//end foreach - return parent::printErrorReport($phpcs, $values['report'], $values['showWarnings']); + return parent::printErrorReport( + $phpcs, + $values['report'], + $values['showWarnings'], + $values['showSources'], + $values['reportFile'] + ); }//end process()