mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Enable E_STRICT, but include DebugView, Log classes as these are not always guaranteed to be loaded by ClassLoader at the time a strict error is issued.
This commit is contained in:
parent
aa14a5191e
commit
6db8f85450
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
// ALL errors are reported, including E_STRICT by default *unless* the site is in
|
// ALL errors are reported, including E_STRICT by default *unless* the site is in
|
||||||
// live mode, where reporting is limited to fatal errors and warnings (see later in this file)
|
// live mode, where reporting is limited to fatal errors and warnings (see later in this file)
|
||||||
error_reporting(E_ALL & ~(E_STRICT));
|
error_reporting(E_ALL | E_STRICT);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include _ss_environment.php files
|
* Include _ss_environment.php files
|
||||||
@ -223,6 +223,10 @@ require_once 'core/ClassInfo.php';
|
|||||||
require_once 'view/TemplateGlobalProvider.php';
|
require_once 'view/TemplateGlobalProvider.php';
|
||||||
require_once 'control/Director.php';
|
require_once 'control/Director.php';
|
||||||
require_once 'dev/Debug.php';
|
require_once 'dev/Debug.php';
|
||||||
|
require_once 'dev/DebugView.php';
|
||||||
|
require_once 'dev/Backtrace.php';
|
||||||
|
require_once 'dev/ZendLog.php';
|
||||||
|
require_once 'dev/Log.php';
|
||||||
require_once 'filesystem/FileFinder.php';
|
require_once 'filesystem/FileFinder.php';
|
||||||
require_once 'core/manifest/ClassLoader.php';
|
require_once 'core/manifest/ClassLoader.php';
|
||||||
require_once 'core/manifest/ClassManifest.php';
|
require_once 'core/manifest/ClassManifest.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user