Top Level :: PHP

Package Information: PHP_CodeSniffer 0.7.0

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.0RC3 2007-11-30     beta
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.0Download

Release date: 2007-07-02 03:30 UTC
Release state: beta

Changelog:

- BC BREAK: EOL character is now auto-detected and used instead of hard-coded \n
-- Pattern sniffs must now specify "EOL" instead of "\n" or "\r\n" to use auto-detection
-- Please use $phpcsFile->eolChar to check for newlines instead of hard-coding "\n" or "\r\n"
-- Comment parser classes now require you to pass $phpcsFile as an additional argument
- BC BREAK: Included and excluded sniffs now require .php extension
-- Please update your coding standard classes and add ".php" to all sniff entries
-- See CodeSniffer/Standards/PEAR/PEARCodingStandard.php for an example
- Fixed error where including a directory of sniffs in a coding standard class did not work
- Coding standard classes can now specify a list of sniffs to exclude as well as include (feature request #11056)
- Two uppercase characters can now be placed side-by-side in class names in Squiz ValidClassNameSniff
- SVN tags now allowed in PEAR file doc blocks (feature request #11038)
-- Thanks to Torsten Roehr for the patch
- Private methods in commenting sniffs and comment parser are now protected (feature request #11087)
- Added Generic LineEndingsSniff to check the EOL character of a file
- PEAR standard now only throws one error per file for incorrect line endings (eg. /r/n)
- Command line arg -v now shows number of registered sniffs
- Command line arg -vvv now shows list of registered sniffs
- Squiz ControlStructureSpacingSniff no longer throws errors if the control structure is at the end of the script
- Squiz FunctionCommentSniff now throws error for "return void" if function has return statement
- Squiz FunctionCommentSniff now throws error for functions that return void but specify something else
- Squiz ValidVariableNameSniff now allows multiple uppercase letters in a row
- Squiz ForEachLoopDeclarationSniff now throws error for AS keyword not being lowercase
- Squiz SwitchDeclarationSniff now throws errors for CASE/DEFAULT/BREAK keywords not being lowercase
- Squiz ArrayDeclarationSniff now handles multi-token array values when checking alignment
- Squiz standard now enforces a space after cast tokens
- Generic MultipleStatementAlignmentSniff no longer gets confused by assignments inside FOR conditions
- Generic MultipleStatementAlignmentSniff no longer gets confused by the use of list()
- Added Generic SpaceAfterCastSniff to ensure there is a single space after a cast token
- Added Generic NoSpaceAfterCastSniff to ensure there is no whitespace after a cast token
- Added PEAR ClassDeclarationSniff to ensure the opening brace of a class is on the line after the keyword
- Added Squiz ScopeClosingBraceSniff to ensure closing braces are aligned correctly
- Added Squiz EvalSniff to discourage the use of eval()
- Added Squiz LowercaseDeclarationSniff to ensure all declaration keywords are lowercase
- Added Squiz LowercaseClassKeywordsSniff to ensure all class declaration keywords are lowercase
- Added Squiz LowercaseFunctionKeywordsSniff to ensure all function declaration keywords are lowercase
- Added Squiz LowercasePHPFunctionsSniff to ensure all calls to inbuilt PHP functions are lowercase
- Added Squiz CastSpacingSniff to ensure cast statements dont contain whitespace
- Errors no longer thrown when checking 0 length files with verbosity on
- Fixed bug #11105 : getIncludedSniffs() not working anymore
-- Thanks to Blair Robertson for the patch
- Fixed bug #11120 : Uninitialized string offset in AbstractParser.php on line 200

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
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