Skip to content

Commit a3ad08c

Browse files
committed
Removed most of the "cannot" statements which are repeated in the tables now
1 parent 345410c commit a3ad08c

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

contributing/code/bc.rst

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,24 +110,12 @@ All classes in the ``Symfony`` namespace are **safe for use**. That means that:
110110

111111
When extending the class:
112112

113-
* You cannot safely use protected properties and methods. We may change or
114-
remove them, but will document this in the UPGRADE file.
115-
116113
* You can safely override public properties.
117114

118-
* You cannot safely override protected properties. We may change or remove them,
119-
but will document this in the UPGRADE file.
120-
121-
* You cannot safely override public or protected methods. We may change them,
122-
but will document this in the UPGRADE file.
123-
124-
* You cannot safely add public or protected properties. We may add a property
125-
with the same name.
126-
127-
* You cannot safely add a new public or protected method. We may add a method
128-
with the same name.
115+
However:
129116

130-
* You cannot safely add parameters to overridden methods. We may do the same.
117+
* You cannot safely override methods in extending classes. The class may change,
118+
but all changes will be documented in the UPGRADE file.
131119

132120
Properties and methods tagged with ``@api`` are treated as if they belonged
133121
to an API class.

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