errors and standard in php code

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
kannibal

errors and standard in php code

Post by kannibal »

i turned on display_errors

and put error_reporting  =  E_ALL | E_STRICT

i got realy realy many notice and Strict Standards notices, using php5

please follow the standard!

//stefan
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: errors and standard in php code

Post by Ted »

I agree that we shouldn't get any E_NOTICE errors...  all devs should have E_ALL on.  However, E_STRICT is almost impossible since we're trying to target php4 and php5 and use OO.
Locked

Return to “[locked] Quality Assurance”