#46084 [NEW]: PHP needs a source code analyzer
| From: | kevin dot benton at beatport dot com | Date: | Mon, 15 Sep 2008 17:23:18 +0000 |
| Subject: | #46084 [NEW]: PHP needs a source code analyzer | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-128992@lists.php.net to get a copy of this message | ||
From: kevin dot benton at beatport dot com
Operating system: All
PHP version: 5.2.6
PHP Bug Type: Feature/Change Request
Bug description: PHP needs a source code analyzer
Description:
------------
PHP needs a really good source code analyzer to report common problems in
PHP code (i.e. defaulted parameters before required parameters). Having
such a feature makes it easier for new PHP developers to see where
problematic code may lie, as well as providing some good best-practices
guidelines.
I really like the way perltidy does this for Perl code. What's really
neat about perltidy is it allows you to help it understand what best
practices you want to enforce and what best practices you want to ignore or
modify.
--
Edit bug report at http://bugs.php.net/?id=46084&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46084&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46084&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46084&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46084&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46084&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46084&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46084&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46084&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46084&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46084&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46084&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46084&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46084&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46084&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46084&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46084&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46084&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46084&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46084&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46084&r=mysqlcfg