Skip to content

Commit 8f32623

Browse files
kenjismichalsn
andauthored
docs: use list for readablitily
Co-authored-by: Michal Sniatala <[email protected]>
1 parent 12a8c6e commit 8f32623

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

user_guide_src/source/installation/upgrade_4xx.rst

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,14 @@ Error Handling
170170

171171
- The behavior in CI4 has been slightly changed.
172172

173-
- In CI3, ignored errors by ``error_reporting()`` in **index.php** are not logged,
174-
but other errors are logged (but depending on the ``log_threshold`` setting,
175-
they may not be written to the log file). Only errors with the error level
176-
``E_ERROR | E_PARSE | E_COMPILE_ERROR | E_CORE_ERROR | E_USER_ERROR``
177-
will stop the framework processing, regardless of the error level set in
178-
``error_reporting()``.
179-
- In CI4, only errors with the error level set by ``error_reporting()`` in
180-
**app/Config/Boot/{environment}.php** are logged (but depending on the
181-
``Config\Logger::$threshold`` setting, they may not be written to the log file).
182-
All errors that are not ignored by ``error_reporting()`` will stop the
183-
framework processing.
173+
- In CI3 the behavior was set in the **index.php** file:
174+
- errors ignored by ``error_reporting()`` was not logged;
175+
- other errors were logged (depending on the settings in ``log_threshold``, they may not have been written to the log file);
176+
- errors with an error level of ``E_ERROR | E_PARSE | E_COMPILE_ERROR | E_CORE_ERROR | E_USER_ERROR`` stopped framework processing, regardless of the error level set in ``error_reporting()``;
177+
- In CI4, the behavior is set in the **app/Config/Boot/{environment}.php** file:
178+
- errors with the error level set by ``error_reporting()`` are logged (but depending on the
179+
``Config\Logger::$threshold`` setting, they may not be written to the log file);
180+
- all errors that are not ignored by ``error_reporting()`` will stop the framework processing;
184181

185182
Extending the Framework
186183
=======================

0 commit comments

Comments
 (0)