Make wfSuppressWarnings kill E_STRICT in PHP 5.4+
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 13 Dec 2012 22:16:22 +0000 (18:16 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 16 Dec 2012 07:28:57 +0000 (07:28 +0000)
commit02f6386b3b1cd1b8f5d842b62bbccb5ae5a9f08c
tree6e292eec3e7546a52e21962dfc29734afe7d421d
parentf04e938baa84b7353ab08f259c3618f38c5bc905
Make wfSuppressWarnings kill E_STRICT in PHP 5.4+

Since PHP 5.4+ E_STRICT is now included in E_ALL. Hence
wfSuppressWarnings was not filtering E_STRICT.

There was some complaints on project:support_desk about
timezone warnings popping up. See also bug 43092

Change-Id: Ie1ace158dac1733e6b2b2c1d533004d9bcab8c80
includes/GlobalFunctions.php