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

+3-15
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)