Skip to content

Commit 2320906

Browse files
committed
Extracted duplicated text into _api_tagging.rst.inc
1 parent bdd3c03 commit 2320906

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. note::
2+
3+
If you think that one of our regular classes should have an ``@api`` tag,
4+
put your request into a `new ticket on GitHub`_. We will then evaluate
5+
whether we can add the tag or not.
6+
7+
.. _new ticket on GitHub: https://github.com/symfony/symfony/issues/new

contributing/code/bc.rst

+2-11
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ backwards compatibility promise:
7676
| Add a default value to a parameter | Yes | Yes |
7777
+-----------------------------------------------+---------------+---------------+
7878

79-
.. note::
80-
81-
If you think that one of our regular interfaces should have an ``@api`` tag,
82-
put your request into a `new ticket on GitHub`_. We will then evaluate
83-
whether we can add the tag or not.
79+
.. include:: _api_tagging.rst.inc
8480

8581
Using Our Classes
8682
~~~~~~~~~~~~~~~~~
@@ -162,11 +158,7 @@ covered by our backwards compatibility promise:
162158
| Add a default value to a parameter | Yes | Yes |
163159
+-----------------------------------------------+---------------+---------------+
164160

165-
.. note::
166-
167-
If you think that one of our regular classes should have an ``@api`` tag,
168-
put your request into a `new ticket on GitHub`_. We will then evaluate
169-
whether we can add the tag or not.
161+
.. include:: _api_tagging.rst.inc
170162

171163
Working on Symfony Code
172164
-----------------------
@@ -312,4 +304,3 @@ Change return type Yes [2]_ [5]_ No
312304
.. _string values: http://www.php.net/manual/en/function.strval.php
313305
.. _integer values: http://www.php.net/manual/en/function.intval.php
314306
.. _float values: http://www.php.net/manual/en/function.floatval.php
315-
.. _new ticket on GitHub: https://github.com/symfony/symfony/issues/new

0 commit comments

Comments
 (0)