PEAR Announce
2013-12-12 04:22:04 UTC
The new PEAR package PHP_CodeSniffer-1.5.1 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Config values can now be set at runtime using the command line argument [--runtime-set key value]
-- Runtime values are the same as config values, but are not written to the main config file
-- Thanks to Wim Godden for the patch
- Config values can now be set in ruleset files
-- e.g., config name="zend_ca_path" value="/path/to/ZendCodeAnalyzer"
-- Can not be used to set config values that override command line values, such as show_warnings
-- Thanks to Jonathan Marcil for helping with the patch
- Added a new installed_paths config value to allow for the setting of directories that contain standards
-- By default, standards have to be installed into the CodeSniffer/Standards directory to be considered installed
-- New config value allows a list of paths to be set in addition to this internal path
-- Installed standards appear when using the -i arg, and can be referenced in rulesets using only their name
-- Set paths by running: phpcs --config-set installed_paths /path/one,/path/two,...
- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
- Generic ForbiddenFunctionsSniff now ignores object creation
-- This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
- Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
- Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
-- Thanks to Gaetan Rousseau for the patch
- Fixed bug #20139 : No report file generated on success
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.5.1
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.5.1.tgz
Authors
-------
Greg Sherwood (lead)
Release notes
-------------
- Config values can now be set at runtime using the command line argument [--runtime-set key value]
-- Runtime values are the same as config values, but are not written to the main config file
-- Thanks to Wim Godden for the patch
- Config values can now be set in ruleset files
-- e.g., config name="zend_ca_path" value="/path/to/ZendCodeAnalyzer"
-- Can not be used to set config values that override command line values, such as show_warnings
-- Thanks to Jonathan Marcil for helping with the patch
- Added a new installed_paths config value to allow for the setting of directories that contain standards
-- By default, standards have to be installed into the CodeSniffer/Standards directory to be considered installed
-- New config value allows a list of paths to be set in addition to this internal path
-- Installed standards appear when using the -i arg, and can be referenced in rulesets using only their name
-- Set paths by running: phpcs --config-set installed_paths /path/one,/path/two,...
- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
- Generic ForbiddenFunctionsSniff now ignores object creation
-- This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
- Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
- Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
-- Thanks to Gaetan Rousseau for the patch
- Fixed bug #20139 : No report file generated on success
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.5.1
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.5.1.tgz
Authors
-------
Greg Sherwood (lead)
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php