[ANNOUNCEMENT] PHP_CodeSniffer-1.4.8 (stable) Released.

[email protected] ("PEAR Announce")
Newsgroups php.pear.general
Message-ID <[email protected]>
The new PEAR package PHP_CodeSniffer-1.4.8 (stable) has been released at http://pear.php.net/.

Release notes
-------------
- Generic ScopeIndentSniff now allows for ignored tokens to be set via ruleset.xml files
  -- E.g., to ignore comments, override a property using:
  -- name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
- PSR2 standard now ignores comments when checking indentation rules
- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
  -- Thanks to Antoine Musso for the patch
- Comment parser now supports non-English characters when splitting comment lines into words
  -- Thanks to Nik Sun for the patch
- Exit statements are now recognised as valid closers for CASE and DEFAULT blocks
  -- Thanks to Maksim Kochkin for the patch
- PHP_CodeSniffer_CLI::process() can now be passed an incomplete array of CLI values
  -- Missing values will be set to the CLI defaults
  -- Thanks to Maksim Kochkin for the patch
- Fixed bug #20097 : CLI.php throws error in php 5.2
- Fixed bug #20100 : incorrect Function mysql() has been deprecated report
- Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
- Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
- Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
- Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag

Package Info
------------
PHP_CodeSniffer is a PHP5 script that tokenises PHP, JavaScript and CSS files to detect violations of a defined coding standard. It is an essential development tool that ensures your code remains clean and consistent. It can also help prevent some common semantic errors made by developers.

Related Links
-------------
Package home: http://pear.php.net/package/PHP_CodeSniffer
   Changelog: http://pear.php.net/package/PHP_CodeSniffer/download/1.4.8
    Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.4.8.tgz

Authors
-------
Greg Sherwood (lead)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.