Squelch PHP 5.4+ strict standards errors
Bug #1268746 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Aaron Wells | ||
1.10 |
Fix Released
|
Medium
|
Aaron Wells | ||
1.7 |
Fix Released
|
Medium
|
Aaron Wells | ||
1.8 |
Fix Released
|
Medium
|
Aaron Wells | ||
1.9 |
Fix Released
|
Medium
|
Aaron Wells |
Bug Description
Mahara sets its error reporting to E_ALL (in error.php). Prior to PHP 5.4, E_ALL, despite the name, did not include E_STRICT. Starting with PHP 5.4, it does include E_STRICT.
Since Mahara has been running all this time with E_STRICT messages silenced, there are a lot of E_STRICT violations in the codebase, and on PHP 5.4+ servers, the logs are so full of them as to be useless.
In the long term we should fix all the E_STRICT warnings, but for the short term we should just silence them.
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
milestone: | 1.10.0 → none |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/2904