Skip to content

Commit 035335c

Browse files
committed
Document named arguments BC policy
1 parent c5dbbd7 commit 035335c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

contributing/code/bc.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ backward compatibility promise:
7272
+-----------------------------------------------+-----------------------------+
7373
| Type hint against the interface | Yes |
7474
+-----------------------------------------------+-----------------------------+
75-
| Call a method | Yes |
75+
| Call a method | Yes [10]_ |
7676
+-----------------------------------------------+-----------------------------+
7777
| **If you implement the interface and...** | **Then we guarantee BC...** |
7878
+-----------------------------------------------+-----------------------------+
@@ -114,13 +114,13 @@ covered by our backward compatibility promise:
114114
+-----------------------------------------------+-----------------------------+
115115
| Access a public property | Yes |
116116
+-----------------------------------------------+-----------------------------+
117-
| Call a public method | Yes |
117+
| Call a public method | Yes [10]_ |
118118
+-----------------------------------------------+-----------------------------+
119119
| **If you extend the class and...** | **Then we guarantee BC...** |
120120
+-----------------------------------------------+-----------------------------+
121121
| Access a protected property | Yes |
122122
+-----------------------------------------------+-----------------------------+
123-
| Call a protected method | Yes |
123+
| Call a protected method | Yes [10]_ |
124124
+-----------------------------------------------+-----------------------------+
125125
| Override a public property | Yes |
126126
+-----------------------------------------------+-----------------------------+
@@ -445,4 +445,8 @@ Turn static into non static No
445445
446446
.. [9] Allowed for the ``void`` return type.
447447
448+
.. [10] Parameter names are not part of the compatibility promise. Using
449+
PHP 8's named arguments feature might break your code when upgrading to
450+
newer Symfony versions.
451+
448452
.. _`Semantic Versioning`: https://semver.org/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy