Skip to content

Commit 6280dfc

Browse files
UPGRADING: document #[\Attribute] validation from GH-19154
[skip ci]
1 parent c416191 commit 6280dfc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ PHP 8.5 UPGRADE NOTES
5050
immediately, without calling user-defined error handlers.
5151
. Exceptions thrown by user-defined error handlers when handling class linking
5252
errors are not promoted to fatal errors anymore and do not prevent linking.
53+
. Applying #[\Attribute] to an abstract class, enum, interface, or trait triggers
54+
an error during compilation. Previously, the attribute could be added, but when
55+
ReflectionAttribute::newInstance() was called an error would be thrown.
5356

5457
- DOM:
5558
. Cloning a DOMNamedNodeMap, DOMNodeList, Dom\NamedNodeMap, Dom\NodeList,

0 commit comments

Comments
 (0)