-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Review] Added detailed Backwards Compatibility Promise text #3439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
840073c
7320ed0
dacd7ce
79ca9f7
0e925cb
44ecf16
afadaab
345410c
a3ad08c
31ab2db
502ed95
4c5a55d
c6e850d
db76288
54fd836
00c6ebe
efd3911
dcbe79a
af3a645
be76644
dfb3e8b
6501a35
0c6420f
69768dd
5a160c5
ef1f021
6d9edf1
8c6c7bf
4868452
e11335f
25443c0
11bb879
fd1d912
bdd3c03
2320906
90c4de6
be2251c
ce58ee9
0717192
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
@api
tags
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,10 @@ Add custom method parameter Not Safe [1]_ Safe | |
Add parameter default value Safe Safe | ||
============================================== ============== ============== | ||
|
||
If you need to do any of the things marked as "Not Safe" above, feel free to | ||
ask us whether the ``@api`` tag can be added on the respective Symfony code. | ||
For that, simply open a `new ticket on GitHub`_. | ||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Small formatting nitpick: you have a bunch of double-newlines which should be converted to single-newlines. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I left them in before headings. I'll remove them however. |
||
Using Our Classes | ||
~~~~~~~~~~~~~~~~~ | ||
|
@@ -140,6 +144,10 @@ Add custom method parameter Not Safe [1]_ Safe | |
Add parameter default value Safe Safe | ||
============================================== ============== ============== | ||
|
||
If you need to do any of the things marked as "Not Safe" above, feel free to | ||
ask us whether the ``@api`` tag can be added on the respective Symfony code. | ||
For that, simply open a `new ticket on GitHub`_. | ||
|
||
|
||
Working on Symfony Code | ||
----------------------- | ||
|
@@ -273,3 +281,5 @@ Change return type Yes [2]_ [4]_ No | |
.. _integer values: http://www.php.net/manual/en/function.intval.php | ||
|
||
.. _float values: http://www.php.net/manual/en/function.floatval.php | ||
|
||
.. _new ticket on GitHub: https://github.com/symfony/symfony/issues/new | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove empty lines in lines 306 - 316 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The meaning of
Yes
andNo
are hard to understand for me. Actually, it took me quite some time to figure out what the whole table actually means.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For instance, what does
Add custom method
mean? Is it when I add a custom method on a class that implements a Symfony interface? Or does it mean that we are allowed to add a new method in a Symfony interface?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole section is targeted at Symfony users (not developers; the dev section is below). So "Add custom method" means that a user should not add methods that do not exist in our interface (i.e. we cannot guarantee BC).
Example: