![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| squiz Thu May 17 01:29:55 2007 UTC Modified files: /pear/PHP_CodeSniffer/CodeSniffer File.php Log: Coding standard fixes http://cvs.php.net/viewvc.cgi/pear/P...&diff_format=u Index: pear/PHP_CodeSniffer/CodeSniffer/File.php diff -u pear/PHP_CodeSniffer/CodeSniffer/File.php:1.27 pear/PHP_CodeSniffer/CodeSniffer/File.php:1.28 --- pear/PHP_CodeSniffer/CodeSniffer/File.php:1.27 Wed May 9 07:36:40 2007 +++ pear/PHP_CodeSniffer/CodeSniffer/File.php Thu May 17 01:29:55 2007 @@ -11,7 +11,7 @@ * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600) * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence - * @version CVS: $Id: File.php,v 1.27 2007/05/09 07:36:40 squiz Exp $ + * @version CVS: $Id: File.php,v 1.28 2007/05/17 01:29:55 squiz Exp $ * @link http://pear.php.net/package/PHP_CodeSniffer */ @@ -312,6 +312,9 @@ * to process. * @param array(string) $listeners The initial listeners listening * to processing of this file. + * + * @throws PHP_CodeSniffer_Exception If the register() method does + * not return an array. */ public function __construct($file, array $listeners) { @@ -1235,7 +1238,7 @@ $oldCondition = array_pop($conditions); if (PHP_CODESNIFFER_VERBOSITY > 1) { echo str_repeat("\t", ($level + 1)); - echo '* token '.token_name($oldCondition)." removed from conditions array *".PHP_EOL; + echo '* token '.token_name($oldCondition).' removed from conditions array *'.PHP_EOL; } $level--; | |||
| Featured Websites | ||||
|
![]() |
| Tags: cvs, filephp, pear |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pear /PHP_CodeSniffer package.xml /PHP_CodeSniffer/CodeSniffer/CommentParser AbstractParser.php | Greg Sherwood | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear /PHP_CodeSniffer CodeSniffer.php package.xml /PHP_CodeSniffer/scripts phpcs | Greg Sherwood | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear /PHP_CodeSniffer/CodeSniffer File.php | Greg Sherwood | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear /PHP_CodeSniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting FileCommentSniff.php | Greg Sherwood | Pear | 0 | 05-20-2007 7:41 PM |
| cvs: pear /PHP_CodeSniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting FunctionCommentSniff.php /PHP_CodeSniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting FunctionCommentSniff.php | Greg Sherwood | Pear | 0 | 05-20-2007 7:41 PM |
| Featured Websites | ||||
|