From e05c529f349d7cff1fc59d9a0a25d37a954c3f86 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Wed, 23 Oct 2024 18:31:39 +0200
Subject: [PATCH] Document tidy constructor changes in PHP 8.4
---
reference/tidy/tidy/construct.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/reference/tidy/tidy/construct.xml b/reference/tidy/tidy/construct.xml
index 707e1eceb019..4a9ee574bdd6 100644
--- a/reference/tidy/tidy/construct.xml
+++ b/reference/tidy/tidy/construct.xml
@@ -73,6 +73,14 @@
+
+ &reftitle.errors;
+
+ Throws an exception when the constructor fails
+ (e.g. failing to open a file).
+
+
+
&reftitle.changelog;
@@ -84,6 +92,13 @@
+
+ 8.4.0
+
+ Failures when executing the constructor now throw instead of silently
+ creating an unusable object.
+
+
8.0.0