Project

General

Profile

Actions

Bug #27250

closed

Bug #25335: Make TYPO3 free of NOTICE errors

Get rid of error_reporting() at various places in the source

Added by Stefan Neufeind almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

At several places we currently have:
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);

I'd suggest we should leave it up to the administrator if he wants TYPO3 to "mess" with his error_reporting or not. Currently things like E_NOTICE can't even be activated explicitly for testing.

We could have an error_reporting-setting in installtool and if this localconf-variable is set, we'll set error_reporting(). But it can also be explicitly not set. Migration from TYPO3 4.5 to 4.6 (as with forceCharset on the move 4.4 to 4.5) should be to automatically set this to E_ALL ^ E_NOTICE ^ E_DEPRECATED in upgrade-wizard.

It also would make working on #25335 (getting rid of E_NOTICE-errors in the core) a lot easier.

Actions

Also available in: Atom PDF