- Issue created by @andypost
Following the initial patch replacing E_USER_ERROR
with E_USER_WARNING
, this follow-up aims to evaluate and implement a consistent approach to error handling. Specifically, we will consider replacing E_USER_WARNING
instances with exceptions or other suitable error management strategies to balance system stability with user feedback, particularly in extreme edge cases. This issue will help finalize the best approach for addressing deprecated error-level usage in line with PHP 8.4 compatibility requirements.
See merge request from 📌 Stop passing E_USER_ERROR to trigger_error() on PHP 8.4 Active
File separate issues for each case
- Deprecate ToStringTrait
and replace its usages, clean-up Phpstan baseline
- add error logging to core/modules/big_pipe/src/Render/BigPipe.php
- throw exception in core/lib/Drupal/Component/Diff/DiffFormatter.php