[BUGFIX] Exclude E_STRICT from errors with PHP 5.4
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sat, 7 Jul 2012 15:14:45 +0000 (17:14 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 25 Jul 2012 17:09:58 +0000 (19:09 +0200)
The main entry points have been refactored, but some places have been
forgotten leading to E_STRICT errors flooding the log.

Refactor all places to use the same code:
error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));

Change-Id: I5ba40bcefd236d77b21cdb545685bcae40e60f1f
Related: #35154
Fixes: #38691
Releases: 6.0
Reviewed-on: http://review.typo3.org/12689
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/rtehtmlarea/mod3/browse_links.php
typo3/sysext/rtehtmlarea/mod4/select_image.php
typo3/sysext/rtehtmlarea/mod5/user.php
typo3/sysext/rtehtmlarea/mod6/parse_html.php

index 75d2723..3eaf902 100644 (file)
@@ -36,7 +36,7 @@
  * @author     Stanislas Rolland <typo3(arobas)sjbr.ca>
  */
 
-error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));
+error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
 require('conf.php');
 require($BACK_PATH.'init.php');
index 8b4b32c..0f044ee 100644 (file)
@@ -32,7 +32,7 @@
  * @author     Stanislas Rolland <typo3(arobas)jbr.ca>
  */
 
-error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));
+error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
 require('conf.php');
 require($BACK_PATH.'init.php');
index 279aa92..6b0ac2a 100644 (file)
@@ -32,7 +32,7 @@
  * @author     Stanislas Rolland <typo3(arobas)sjbr.ca>
  */
 
-error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));
+error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
 require('conf.php');
 require($BACK_PATH.'init.php');
index 2402d73..ca17aad 100644 (file)
@@ -30,7 +30,7 @@
  * @author     Stanislas Rolland <typo3(arobas)sjbr.ca>
  */
 
-error_reporting(E_ALL & ~(E_STRICT | E_NOTICE));
+error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
 unset($MCONF);
 require ('conf.php');
 require ($BACK_PATH.'init.php');