Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

API CHANGE Enable E_STRICT, but include DebugView, Log classes as the…

…se are not always guaranteed to be loaded by ClassLoader at the time a strict error is issued.
  • Loading branch information...
commit 6db8f8545089425877aaf5d569963c057259a86f 1 parent aa14a51
@halkyon halkyon authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 core/Core.php
View
6 core/Core.php
@@ -40,7 +40,7 @@
// 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)
-error_reporting(E_ALL & ~(E_STRICT));
+error_reporting(E_ALL | E_STRICT);
/**
* Include _ss_environment.php files
@@ -223,6 +223,10 @@
require_once 'view/TemplateGlobalProvider.php';
require_once 'control/Director.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 'core/manifest/ClassLoader.php';
require_once 'core/manifest/ClassManifest.php';
Please sign in to comment.
Something went wrong with that request. Please try again.