Skip to content

Commit cd3868c

Browse files
committed
Added BC break in migration docs
1 parent f4fddd4 commit cd3868c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

appendices/migration82/incompatible.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<sect2 xml:id="migration82.incompatible.date">
66
<title>Date</title>
77

8+
<para>
9+
The DateTime extension has introduced Date extension specific exceptions
10+
and errors under the <classname>DateError</classname> and
11+
<classname>DateException</classname> hierarchies, instead of warnings and
12+
generic exceptions. This improves error handling, at the expense
13+
of having having to check for errors and exceptions.
14+
</para>
15+
816
<para>
917
<methodname>DateTime::createFromImmutable</methodname> now has a tentative
1018
return type of <type>static</type>, previously it was <type>DateTime</type>.
@@ -94,7 +102,7 @@
94102

95103
<para>
96104
<function>var_export</function> no longer omits the leading backslash for exported classes,
97-
i.e. these are now fully qualified.
105+
i.e. these are now fully qualified.
98106
</para>
99107
</sect2>
100108

0 commit comments

Comments
 (0)