Bug #16054 [Ver->Csd]: phpcs-svn-pre-commit not showing any errors

From: Date: Wed, 25 Mar 2009 04:56:00 +0000
Subject: Bug #16054 [Ver->Csd]: phpcs-svn-pre-commit not showing any errors
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-259@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=16054&edit=1 ID: 16054 Updated by: gsherwood@squiz.net Reported By: str at strgt dot cjb dot net Summary: phpcs-svn-pre-commit not showing any errors -Status: Verified +Status: Closed Type: Bug Package: PHP_CodeSniffer Operating System: Ubuntu Package Version: 1.2.0RC1 PHP Version: 5.2.9 Assigned To: squiz Roadmap Versions: New Comment: -Status: Verified +Status: Closed This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2009-03-25 04:31:47] squiz -Status: Open +Status: Verified -Assigned To: +Assigned To: squiz ------------------------------------------------------------------------ [2009-03-23 22:25:22] str Description: ------------ I'm testing the precomit hook as it is shown on the documentation. It force it to exit, becase I never get any error. The php file I'm testing is a very simple one, but if violates a lot of rules. Test script: --------------- <?php class test { public function test(){ echo 'hola mundo'; } } $test = new test(); $test->test(); /usr/bin/scripts/phpcs-svn-pre-commit --standard=Squiz --tab-width=4 "$REPOS" -t "$TXN" 1>&2 || exit 1 exit 3 Expected result: ---------------- exit 1 Actual result: -------------- exit3 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=16054&edit=1

« previous php.pear.bugs (#259) next »