Releases
1.5.1
Compare
Sorry, something went wrong.
No results found
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
You can’t perform that action at this time.