Skip to content

Commit

Permalink
Update NEWS, UPGRADING
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Sep 2, 2020
1 parent 8b37c1e commit 842be67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.0.0rc1

- Core:
. Implement #[Attr] Attribute syntax as per final vote in RFC
https://wiki.php.net/rfc/shorter_attribute_syntax_change

03 Sep 2020, PHP 8.0.0beta3

Expand Down
9 changes: 5 additions & 4 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ PHP 8.0 UPGRADE NOTES
Additionally, care should be taken that error messages are not displayed in
production environments, which can result in information leaks. Please
ensure that display_errors=Off is used in conjunction with error logging.
. Adding more than one @ operator to an expression is no longer supported,
since this syntax is now used for attributes (previously extra @ operators
had no effect).
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
. Following the hash comment operator # immediately with an opening bracket
is not supported as a comment anymore since this syntax is now used for
attributes.
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change
. Inheritance errors due to incompatible method signatures (LSP violations)
will now always generate a fatal error. Previously a warning was generated
in some cases.
Expand Down Expand Up @@ -687,6 +687,7 @@ PHP 8.0 UPGRADE NOTES
RFC: https://wiki.php.net/rfc/attributes_v2
RFC: https://wiki.php.net/rfc/attribute_amendments
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change
. Added support for constructor property promotion (declaring properties in
the constructor signature).
RFC: https://wiki.php.net/rfc/constructor_promotion
Expand Down

1 comment on commit 842be67

@weltling
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ci skip] on such stuff :)

Thanks.

Please sign in to comment.