Package: php-codesniffer Version: 1.1.0-1 Severity: minor
php-codesniffer throws E_DEPRECATED errors when used with Debian's standard php-cli and Debian's standard php.ini. Debian Squeeze is using PHP 5.3 but it php-codesniffer 1.1.0 is significantly older. Example: PHP Stack trace: PHP 1. {main}() /usr/bin/phpcs:0 PHP 2. PHP_CodeSniffer_CLI->process() /usr/bin/phpcs:30 PHP 3. PHP_CodeSniffer->process() /usr/share/php/PHP/CodeSniffer/CLI.php:334 PHP 4. PHP_CodeSniffer->processFile() /usr/share/php/PHP/CodeSniffer.php:291 PHP 5. PHP_CodeSniffer_File->start() /usr/share/php/PHP/CodeSniffer.php:624 PHP 6. PEAR_Sniffs_Commenting_FunctionCommentSniff->process() /usr/share/php/PHP/CodeSniffer/File.php:380 PHP 7. PHP_CodeSniffer_CommentParser_AbstractParser->parse() /usr/share/php/PHP/CodeSniffer/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:179 PHP 8. PHP_CodeSniffer_CommentParser_AbstractParser->_parse() /usr/share/php/PHP/CodeSniffer/CommentParser/AbstractParser.php:201 PHP Deprecated: Function split() is deprecated in /usr/share/php/PHP/CodeSniffer/CommentParser/AbstractParser.php on line 218 PHP Stack trace: PHP 1. {main}() /usr/bin/phpcs:0 PHP 2. PHP_CodeSniffer_CLI->process() /usr/bin/phpcs:30 PHP 3. PHP_CodeSniffer->process() /usr/share/php/PHP/CodeSniffer/CLI.php:334 PHP 4. PHP_CodeSniffer->processFile() /usr/share/php/PHP/CodeSniffer.php:291 PHP 5. PHP_CodeSniffer_File->start() /usr/share/php/PHP/CodeSniffer.php:624 PHP 6. PEAR_Sniffs_Commenting_FunctionCommentSniff->process() /usr/share/php/PHP/CodeSniffer/File.php:380 PHP 7. PHP_CodeSniffer_CommentParser_AbstractParser->parse() /usr/share/php/PHP/CodeSniffer/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php:179 PHP 8. PHP_CodeSniffer_CommentParser_AbstractParser->_parse() /usr/share/php/PHP/CodeSniffer/CommentParser/AbstractParser.php:201 -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php-codesniffer depends on: ii php-pear 5.3.3-7+squeeze3 PEAR - PHP Extension and Applicati ii php5-cli 5.3.3-7+squeeze3 command-line interpreter for the p php-codesniffer recommends no packages. php-codesniffer suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org