Skip to content
This repository
Browse code

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
Sean Harvey authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  core/Core.php
6  core/Core.php
@@ -40,7 +40,7 @@
40 40
 
41 41
 // ALL errors are reported, including E_STRICT by default *unless* the site is in
42 42
 // live mode, where reporting is limited to fatal errors and warnings (see later in this file)
43  
-error_reporting(E_ALL & ~(E_STRICT));
  43
+error_reporting(E_ALL | E_STRICT);
44 44
 
45 45
 /**
46 46
  * Include _ss_environment.php files
@@ -223,6 +223,10 @@
223 223
 require_once 'view/TemplateGlobalProvider.php';
224 224
 require_once 'control/Director.php';
225 225
 require_once 'dev/Debug.php';
  226
+require_once 'dev/DebugView.php';
  227
+require_once 'dev/Backtrace.php';
  228
+require_once 'dev/ZendLog.php';
  229
+require_once 'dev/Log.php';
226 230
 require_once 'filesystem/FileFinder.php';
227 231
 require_once 'core/manifest/ClassLoader.php';
228 232
 require_once 'core/manifest/ClassManifest.php';

0 notes on commit 6db8f85

Please sign in to comment.
Something went wrong with that request. Please try again.