PHP: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
* Uniform a coding standard through a project (ex PHP Code Sniffer)
* Uniform a coding standard through a project (ex PHP Code Sniffer)
* No magic numbers, should be define as a constant with clear comments
* No magic numbers, should be define as a constant with clear comments
*
* Should have unit test with 100% coverage
* Always commit /Rollback database transaction at the earliest