Skip to content

Commit 859ab67

Browse files
committed
Removed more namespace shortcuts
1 parent 5cc9eb0 commit 859ab67

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

contributing/documentation/format.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,10 @@ If you want to modify that title, use this alternative syntax:
148148
:doc:`environments`
149149
150150
**Links to the API** follow a different syntax, where you must specify the type
151-
of the linked resource (``namespace``, ``class`` or ``method``):
151+
of the linked resource (``class`` or ``method``):
152152

153153
.. code-block:: rst
154154
155-
:namespace:`Symfony\\Component\\BrowserKit`
156-
157155
:class:`Symfony\\Component\\Routing\\Matcher\\ApacheUrlMatcher`
158156
159157
:method:`Symfony\\Component\\HttpKernel\\Bundle\\Bundle::build`

create_framework/http_foundation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ cases by yourself. Why not using a technology that already works?
270270
.. note::
271271

272272
If you want to learn more about the HttpFoundation component, you can have
273-
a look at the :namespace:`Symfony\\Component\\HttpFoundation` API or read
273+
a look at the ``Symfony\Component\HttpFoundation`` API or read
274274
its dedicated :doc:`documentation </components/http_foundation>`.
275275

276276
Believe or not but we have our first framework. You can stop now if you want.

validation.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ options can be specified in this way.
472472
This is purely meant to make the configuration of the most common option of
473473
a constraint shorter and quicker.
474474

475-
If you're ever unsure of how to specify an option, either check the namespace `Symfony\\Component\\Validator\\Constraints`
476-
for the constraint or play it safe by always passing in an array of options
477-
(the first method shown above).
475+
If you're ever unsure of how to specify an option, either check the namespace
476+
``Symfony\Component\Validator\Constraints`` for the constraint or play it safe
477+
by always passing in an array of options (the first method shown above).
478478

479479
Constraints in Form Classes
480480
---------------------------

0 commit comments

Comments
 (0)