Top Level :: PHP

Package Information: PHP_CodeSniffer 0.5.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.0 2007-07-02     beta
0.6.0 2007-05-15     beta
0.5.0Download

Release date: 2007-04-17 03:25 UTC
Release state: beta

Changelog:

- BC BREAK: Coding standards now require a class to be added so PHP_CodeSniffer can get information from them
- Please read the end user docs for info about the new class required for all coding standards
- Coding standards can now include sniffs from other standards, or whole standards, without writing new sniff files
- PHP_CodeSniffer_File::isReference() now correctly returns for references in function declarations
- PHP_CodeSniffer_File::isReference() now returns false if you don't pass it a T_BITWISE_AND token
- PHP_CodeSniffer_File now stores the absolute path to the file so sniffs can check file locations correctly
- Fixed undefined index error in AbstractVariableSniff for variables inside an interface function definition
- Added MemberVarSpacingSniff to Squiz standard to enforce one-line spacing between member vars
- Add FunctionCommentThrowTagSniff to Squiz standard to check that @throws tags are correct
- Fixed problems caused by references and type hints in Squiz FunctionDeclarationArgumentSpacingSniff
- Fixed problems with errors not being thrown for some misaligned @param comments in Squiz FunctionCommentSniff
- Fixed badly spaced comma error being thrown for "extends" class in Squiz ClassDeclarationSniff
- Errors no longer thrown for class method names in Generic ForbiddenFunctionsSniff
- Errors no longer thrown for type hints in front of references in Generic UpperCaseConstantNameSniff
- Errors no longer thrown for correctly indented buffered lines in Squiz ScopeIndexSniff
- Errors no longer thrown for user-defined functions named as forbidden functions in Generic ForbiddenFunctionsSniff
- Errors no longer thrown on __autoload functions in PEAR ValidFunctionNameSniff
- Errors now thrown for __autoload methods in PEAR ValidFunctionNameSniff
- Errors now thrown if constructors or destructors have @return tags in Squiz FunctionCommentSniff
- Errors now thrown if @throws tags dont start with a capital and end with a full stop in Squiz FunctionCommentSniff
- Errors now thrown for invalid @var tag values in Squiz VariableCommentSniff
- Errors now thrown for missing doc comment in Squiz VariableCommentSniff
- Errors now thrown for unspaced operators in FOR loop declarations in Squiz OperatorSpacingSniff
- Errors now thrown for using ob_get_clean/flush functions to end buffers in Squiz OutputBufferingIndentSniff
- Errors now thrown for all missing member variable comments in Squiz VariableCommentSniff

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