← Back to team overview

mahara-contributors team mailing list archive

[Bug 1268746] Re: Squelch PHP 5.4+ strict standards errors

 

It needs to be checked if there is also a patch for 1.9.

** Also affects: mahara/1.10
   Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
       Status: Fix Released

** Also affects: mahara/1.9
   Importance: Undecided
       Status: New

** Changed in: mahara/1.9
    Milestone: None => 1.9.3

** Changed in: mahara/1.10
    Milestone: 1.9.0 => 1.10.0

** Changed in: mahara/1.9
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/1.9
   Importance: Undecided => Medium

** Changed in: mahara/1.9
       Status: New => Confirmed

** Changed in: mahara/1.10
       Status: Fix Released => Fix Committed

-- 
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:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.7 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Confirmed

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


References