Skip to content

Commit 8c33ddc

Browse files
committed
Merge pull request symfony#3167 from bicpi/fix_url_notations
Fix all lowercase "url" notations to uppercase "URL"
2 parents 551460b + feaf81f commit 8c33ddc

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

components/routing/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ does *not* match, because "foo" fails the month wildcard.
127127

128128
.. tip::
129129

130-
If you want to match all urls which start with a certain path and end in an
130+
If you want to match all URLs which start with a certain path and end in an
131131
arbitrary suffix you can use the following route definition::
132132

133133
$route = new Route(

components/templating/helpers/assetshelper.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ Now, if you use the helper, everything will be prefixed with ``/foo/bar``:
4040
Absolute Urls
4141
-------------
4242

43-
You can also specify a url to use in the second parameter of the constructor::
43+
You can also specify a URL to use in the second parameter of the constructor::
4444

4545
// ...
4646
$templateEngine->set(new AssetsHelper(null, 'http://cdn.example.com/'));
4747

48-
Now urls are rendered like ``http://cdn.example.com/images/logo.png``.
48+
Now URLs are rendered like ``http://cdn.example.com/images/logo.png``.
4949

5050
Versioning
5151
----------
@@ -57,7 +57,7 @@ can be specified in the third argument::
5757
// ...
5858
$templateEngine->set(new AssetsHelper(null, null, '328rad75'));
5959

60-
Now, every url is suffixed with ``?328rad75``. If you want to have a different
60+
Now, every URL is suffixed with ``?328rad75``. If you want to have a different
6161
format, you can specify the new format in fourth argument. It's a string that
6262
is used in :phpfunction:`sprintf`. The first argument is the path and the
6363
second is the version. For instance, ``%s?v=%s`` will be rendered as

contributing/documentation/format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Installing the Sphinx extensions
208208
# use PHP as the primary domain
209209
primary_domain = 'php'
210210
211-
# set url for API links
211+
# set URL for API links
212212
api_url = 'http://api.symfony.com/master/%s'
213213
214214
.. _reStructuredText: http://docutils.sourceforge.net/rst.html

cookbook/cache/varnish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ that will invalidate the cache for a given resource:
178178
Routing and X-FORWARDED Headers
179179
-------------------------------
180180

181-
To ensure that the Symfony Router generates urls correctly with Varnish,
181+
To ensure that the Symfony Router generates URLs correctly with Varnish,
182182
proper ```X-Forwarded``` headers must be added so that Symfony is aware of
183183
the original port number of the request. Exactly how this is done depends
184184
on your setup. As a simple example, Varnish and your web server are on the

cookbook/form/create_form_type_extension.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ database)::
163163
// ...
164164

165165
/**
166-
* Get the image url
166+
* Get the image URL
167167
*
168168
* @return null|string
169169
*/
170170
public function getWebPath()
171171
{
172-
// ... $webPath being the full image url, to be used in templates
172+
// ... $webPath being the full image URL, to be used in templates
173173

174174
return $webPath;
175175
}
@@ -181,11 +181,11 @@ the ``file`` form type:
181181
#. Override the ``setDefaultOptions`` method in order to add an image_path
182182
option;
183183
#. Override the ``buildForm`` and ``buildView`` methods in order to pass the image
184-
url to the view.
184+
URL to the view.
185185

186186
The logic is the following: when adding a form field of type ``file``,
187187
you will be able to specify a new option: ``image_path``. This option will
188-
tell the file field how to get the actual image url in order to display
188+
tell the file field how to get the actual image URL in order to display
189189
it in the view::
190190

191191
// src/Acme/DemoBundle/Form/Extension/ImageTypeExtension.php
@@ -220,7 +220,7 @@ it in the view::
220220
}
221221

222222
/**
223-
* Pass the image url to the view
223+
* Pass the image URL to the view
224224
*
225225
* @param FormView $view
226226
* @param FormInterface $form

cookbook/profiler/matchers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use this configuration:
5050
5151
You can also set a ``path`` option to define the path on which the profiler
5252
should be enabled. For instance, setting it to ``^/admin/`` will enable the
53-
profiler only for the ``/admin/`` urls.
53+
profiler only for the ``/admin/`` URLs.
5454

5555
Creating a Custom Matcher
5656
-------------------------

cookbook/security/custom_authentication_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ a 403 Response is returned.
178178
:class:`Symfony\\Component\\Security\\Http\\Firewall\\AbstractAuthenticationListener`
179179
class, is a very useful base class which provides commonly needed functionality
180180
for security extensions. This includes maintaining the token in the session,
181-
providing success / failure handlers, login form urls, and more. As WSSE
181+
providing success / failure handlers, login form URLs, and more. As WSSE
182182
does not require maintaining authentication sessions or login forms, it
183183
won't be used for this example.
184184

0 commit comments

Comments
 (0)