← Back to team overview

mahara-contributors team mailing list archive

[Bug 1268746] [NEW] Squelch PHP 5.4+ strict standards errors

 

Public bug reported:

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.

** Affects: mahara
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: logging

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1268746

Title:
  Squelch PHP 5.4+ strict standards errors

Status in Mahara ePortfolio:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1268746/+subscriptions


Follow ups

References