Skip to content

Commit 9ed85af

Browse files
committed
NEWS/UPGRADING entries for new ReflectionAttribute methods
1 parent 9e9445f commit 9ed85af

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ PHP NEWS
1313
error handler instead of emitting a warning and continuing with an empty
1414
string. (Weilin Du)
1515

16+
- Reflection:
17+
. Added ReflectionAttribute::inNamespace(),
18+
ReflectionAttribute::getNamespaceName(), and
19+
ReflectionAttribute::getShortName(). (Girgias)
20+
1621
- Standard:
1722
. The following functions now raise a ValueError when the $filename argument
1823
contains NUL bytes: fileperms(), fileinode(), filesize(), fileowner(),

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,9 @@ PHP 8.6 UPGRADE NOTES
483483
RFC: https://wiki.php.net/rfc/isreadable-iswriteable
484484
. ReflectionParameter::getDocComment()
485485
RFC: https://wiki.php.net/rfc/parameter-doccomments
486+
. ReflectionAttribute::inNamespace()
487+
. ReflectionAttribute::getNamespaceName()
488+
. ReflectionAttribute::getShortName()
486489

487490
- Standard:
488491
. clamp() returns the given value if in range, else return the nearest

0 commit comments

Comments
 (0)