summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2024-06-26 14:04:02 +0200
committerChristian Schneider2024-06-26 14:04:02 +0200
commit1f03ed8e2d653851ef276ef5d84546e1dced2335 (patch)
tree592aa3107b02124c6b5cc843d25277c4b80c1e69
parentfcb0d6a5b0d9855c21e71192cfb5fca4c20e098e (diff)
downloaditools-1f03ed8e2d653851ef276ef5d84546e1dced2335.tar.gz
itools-1f03ed8e2d653851ef276ef5d84546e1dced2335.tar.bz2
itools-1f03ed8e2d653851ef276ef5d84546e1dced2335.zip
Remove trigger_error with E_USER_ERROR, see https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_error_to_trigger_error
-rw-r--r--auto_prepend.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index 2becb66..485b0c5 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -162,7 +162,6 @@ function U(...$args)
*/
function fail($text)
{
- trigger_error($text, E_USER_ERROR);
it::fatal($text);
}