[PEPr] Changes in proposal for PHP::PHP_CodeSniffer
| From: | Squiz | Date: | Mon, 28 Aug 2006 06:18:37 +0000 |
| Subject: | [PEPr] Changes in proposal for PHP::PHP_CodeSniffer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43820@lists.php.net to get a copy of this message | ||
Squiz (http://pear.php.net/user/squiz) has edited the proposal for PHP::PHP_CodeSniffer.
Change comment:
Version 0.0.4 released:
- Added .bat file for easier running of PHP_CodeSniffer on Windows
- Sniff that checks method names now works for PHP4 style code where there
is no scope keyword
- Sniff that checks method names now works for PHP4 style constructors
- Sniff that checks method names no longer incorrectly reports error with
magic methods
- Sniff that checks method names now reports errors with non-magic methods
prefixed with __
- Sniff that checks for constant names no longer incorrectly reports
errors with heredoc strings
- Sniff that checks for constant names no longer incorrectly reports
errors with created objects
- Sniff that checks indentation no longer incorrectly reports errors with
heredoc strings
- Sniff that checks indentation now correctly reports errors with
improperly indented multi-line strings
- Sniff that checks function declarations now checks for spaces before and
after an equals sign for default values
- Sniff that checks function declarations no longer incorrectly reports
errors with multi-line declarations
- Sniff that checks included code no longer incorrectly reports errors
when return value is used conditionally
- Sniff that checks opening brace of function no longer incorrectly
reports errors with multi-line declarations
- Sniff that checks spacing after commas in function calls no longer
reports too many errors for some code
- Sniff that checks control structure declarations now gives more
descriptive error message
Please review the proposal:
http://pear.php.net/pepr/pepr-proposal-show.php?id=426
--
Sent by PEPr, the automatic proposal system at http://pear.php.net