summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorPedro Magalhães <pmmaga@php.net>2020-04-16 18:53:13 +0100
committerPedro Magalhães <pmmaga@php.net>2020-07-15 17:09:57 +0100
commit272b887b7b8d48bc1615938dde825fe4b3af0eb5 (patch)
tree13d4ecca6b24b8f60a97a5bd42f7536d85ae74dd /UPGRADING
parent371e29ef3a02ec5a24a8601812671d2dd24901bd (diff)
downloadphp-git-272b887b7b8d48bc1615938dde825fe4b3af0eb5.tar.gz
Ignore inheritance rules on private methods
Closes GH-5401
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING7
1 files changed, 7 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index cb4021b8a5..8e322bd1c1 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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