File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 9
9
|
10
10
| If you set 'display_errors' to '1', CI4's detailed error report will show.
11
11
*/
12
+ error_reporting (E_ALL & ~E_DEPRECATED );
13
+ // If you want to suppress more types of errors.
14
+ // error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
12
15
ini_set ('display_errors ' , '0 ' );
13
- error_reporting (E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED );
14
16
15
17
/*
16
18
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ Changes
315
315
- **Config: **
316
316
- ``Config\Feature::$multipleFilters `` has been removed, because now
317
317
:ref: `multiple-filters ` are always enabled.
318
+ - The default error level in the production environment
319
+ (**app/Config/Boot/production.php **) has been changed to ``E_ALL & ~E_DEPRECATED ``
320
+ to match the default **php.ini ** for production.
318
321
- **RouteCollection: ** The HTTP method keys in the protected property ``$routes ``
319
322
has been fixed from lowercase to uppercase.
320
323
Original file line number Diff line number Diff line change @@ -255,6 +255,8 @@ The ``'toolbar'`` in the ``$global['after']`` was removed.
255
255
Others
256
256
^^^^^^
257
257
258
+ - app/Config/Boot/production.php
259
+ - The default error level to ``error_reporting() `` has been changed to ``E_ALL & ~E_DEPRECATED ``.
258
260
- app/Config/Database.php
259
261
- The default value of ``charset `` in ``$default `` has been change to ``utf8mb4 ``.
260
262
- The default value of ``DBCollat `` in ``$default `` has been change to ``utf8mb4_general_ci ``.
You can’t perform that action at this time.
0 commit comments