diff options
author | Pedro Magalhães <pmmaga@php.net> | 2020-04-16 18:53:13 +0100 |
---|---|---|
committer | Pedro Magalhães <pmmaga@php.net> | 2020-07-15 17:09:57 +0100 |
commit | 272b887b7b8d48bc1615938dde825fe4b3af0eb5 (patch) | |
tree | 13d4ecca6b24b8f60a97a5bd42f7536d85ae74dd /UPGRADING | |
parent | 371e29ef3a02ec5a24a8601812671d2dd24901bd (diff) | |
download | php-git-272b887b7b8d48bc1615938dde825fe4b3af0eb5.tar.gz |
Ignore inheritance rules on private methods
Closes GH-5401
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -194,6 +194,9 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/locale_independent_float_to_string . Removed support for deprecated curly braces for offset access RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access + . Applying the final modifier on a private method will now produce a warning + unless that method is the constructor. + RFC: https://wiki.php.net/rfc/inheritance_private_methods - COM: . Removed the ability to import case-insensitive constants from type @@ -584,6 +587,10 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/constructor_promotion . Added support for `match` expression. RFC: https://wiki.php.net/rfc/match_expression_v2 + . Private methods declared on a parent class no longer enforce any + inheritance rules on the methods of a child class. (with the exception of + final private constructors) + RFC: https://wiki.php.net/rfc/inheritance_private_methods - Date: . Added DateTime::createFromInterface() and |