Top Level :: PHP

Package Information: PHP_CodeSniffer 1.0.0RC3

Show All Changelogs
» Version » Information
1.1.0 2008-07-14     stable
1.1.0RC3 2008-07-03     beta
1.1.0RC2 2008-06-13     beta
1.1.0RC1 2008-05-13     beta
1.1.0a1 2008-04-21     alpha
1.0.1 2008-02-03     stable
1.0.0 2007-12-21     stable
1.0.0RC3Download

Release date: 2007-11-30 03:09 UTC
Release state: beta

Changelog:

- Added new command line argument --tab-width that will convert tabs to spaces before testing
-- This allows you to use the existing sniffs that check for spaces even when you use tabs
-- Can also be set via a config var: phpcs --config-set tab_width 4
-- A value of zero (the default) tells PHP_CodeSniffer not to replace tabs with spaces
- You can now change the default report format from "full" to something else
-- Run: phpcs --config-set report_format [format]
- Improved performance by optimising the way the scope map is created during tokenising
- Added new Squiz DisallowInlineIfSniff to disallow the usage of inline IF statements
- Fixed incorrect errors being thrown for nested switches in Squiz SwitchDeclarationSniff
- PEAR FunctionCommentSniff no longer complains about missing comments for @throws tags
- PEAR FunctionCommentSniff now throws error for missing exception class name for @throws tags
- PHP_CodeSniffer_File::isReference() now correctly returns for functions that return references
- Generic LineLengthSniff no longer warns about @version lines with CVS or SVN id tags
- Generic LineLengthSniff no longer warns about @license lines with long URLs
- Squiz FunctionCommentThrowTagSniff no longer complains about throwing variables
- Squiz ComparisonOperatorUsageSniff no longer throws incorrect errors for inline IF statements
- Squiz DisllowMultipleAssignmentsSniff no longer throws errors for assignments in inline IF statements
- Fixed bug #12455 : CodeSniffer treats content inside heredoc as PHP code
- Fixed bug #12471 : Checkstyle report is broken
- Fixed bug #12476 : PHP4 destructors are reported as error
- Fixed bug #12513 : Checkstyle XML messages need to be utf8_encode()d
-- Thanks to Sebastian Bergmann for the patch.
- Fixed bug #12517 : getNewlineAfter() and dos files

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
1.0.0RC2 2007-11-14     beta
1.0.0RC1 2007-11-01     beta
0.9.0 2007-09-24     beta
0.8.0 2007-08-08     beta
0.7.0 2007-07-02     beta
0.6.0 2007-05-15     beta
0.5.0 2007-04-17     beta
0.4.0 2007-02-18     beta
0.3.0 2007-01-11     beta
0.2.0 2006-10-12     alpha
0.1.1 2006-09-25     alpha
0.1.0 2006-09-18     alpha
0.0.5 2006-09-18     alpha