Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a3ad08c

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-15
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-15
lines changed

‎contributing/code/bc.rst

Copy file name to clipboardExpand all lines: contributing/code/bc.rst
+3-15Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.