Skip to content

Commit 8e9a488

Browse files
committed
More proper nouns and formatting fixes
1 parent 1191dee commit 8e9a488

File tree

20 files changed

+47
-47
lines changed

20 files changed

+47
-47
lines changed

book/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ Some notable or interesting tasks include:
15641564
.. note::
15651565

15661566
To be able to load data fixtures to your database, you will need to have
1567-
the ``DoctrineFixturesBundle`` bundle installed. To learn how to do it,
1567+
the DoctrineFixturesBundle bundle installed. To learn how to do it,
15681568
read the ":doc:`/bundles/DoctrineFixturesBundle/index`" entry of the
15691569
documentation.
15701570

book/internals.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ Dependency Injection component and a powerful plugin system (bundles).
6666
:doc:`Dependency Injection </book/service_container>` and
6767
:doc:`Bundles </cookbook/bundles/best_practices>`.
6868

69-
``FrameworkBundle`` Bundle
70-
~~~~~~~~~~~~~~~~~~~~~~~~~~
69+
FrameworkBundle
70+
~~~~~~~~~~~~~~~
7171

7272
The :namespace:`Symfony\\Bundle\\FrameworkBundle` bundle is the bundle that
7373
ties the main components and libraries together to make a lightweight and fast
@@ -254,7 +254,7 @@ or setup variables so that a Controller can be called after the event. Any
254254
listener can return a ``Response`` object via the ``setResponse()`` method on
255255
the event. In this case, all other listeners won't be called.
256256

257-
This event is used by ``FrameworkBundle`` to populate the ``_controller``
257+
This event is used by the FrameworkBundle to populate the ``_controller``
258258
``Request`` attribute, via the
259259
:class:`Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener`. RequestListener
260260
uses a :class:`Symfony\\Component\\Routing\\RouterInterface` object to match
@@ -273,7 +273,7 @@ the ``Request`` and determine the Controller name (stored in the
273273

274274
*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent`
275275

276-
This event is not used by ``FrameworkBundle``, but can be an entry point used
276+
This event is not used by the FrameworkBundle, but can be an entry point used
277277
to modify the controller that should be executed::
278278

279279
use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
@@ -299,7 +299,7 @@ to modify the controller that should be executed::
299299

300300
*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent`
301301

302-
This event is not used by ``FrameworkBundle``, but it can be used to implement
302+
This event is not used by the FrameworkBundle, but it can be used to implement
303303
a view sub-system. This event is called *only* if the Controller does *not*
304304
return a ``Response`` object. The purpose of the event is to allow some other
305305
return value to be converted into a ``Response``.
@@ -342,7 +342,7 @@ The purpose of this event is to allow other systems to modify or replace the
342342
// ... modify the response object
343343
}
344344

345-
The ``FrameworkBundle`` registers several listeners:
345+
The FrameworkBundle registers several listeners:
346346

347347
* :class:`Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener`:
348348
collects data for the current request;
@@ -387,7 +387,7 @@ was already served to the client.
387387

388388
*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`
389389

390-
``FrameworkBundle`` registers an
390+
The FrameworkBundle registers an
391391
:class:`Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener` that
392392
forwards the ``Request`` to a given Controller (the value of the
393393
``exception_listener.controller`` parameter -- must be in the

book/page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ format you prefer:
840840

841841
Each top-level entry like ``framework`` or ``twig`` defines the configuration
842842
for a particular bundle. For example, the ``framework`` key defines the configuration
843-
for the core Symfony ``FrameworkBundle`` and includes configuration for the
843+
for the core Symfony FrameworkBundle and includes configuration for the
844844
routing, templating, and other core systems.
845845

846846
For now, don't worry about the specific configuration options in each section.

book/security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ authorization from inside a controller::
10071007

10081008
.. _book-security-securing-controller-annotations:
10091009

1010-
You can also choose to install and use the optional ``JMSSecurityExtraBundle``,
1010+
You can also choose to install and use the optional JMSSecurityExtraBundle,
10111011
which can secure your controller using annotations::
10121012

10131013
// ...

book/service_container.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,9 @@ In other words, a service container extension configures the services for
464464
a bundle on your behalf. And as you'll see in a moment, the extension provides
465465
a sensible, high-level interface for configuring the bundle.
466466

467-
Take the ``FrameworkBundle`` - the core Symfony2 framework bundle - as an
467+
Take the FrameworkBundle - the core Symfony2 framework bundle - as an
468468
example. The presence of the following code in your application configuration
469-
invokes the service container extension inside the ``FrameworkBundle``:
469+
invokes the service container extension inside the FrameworkBundle:
470470

471471
.. configuration-block::
472472

@@ -514,21 +514,21 @@ invokes the service container extension inside the ``FrameworkBundle``:
514514
515515
When the configuration is parsed, the container looks for an extension that
516516
can handle the ``framework`` configuration directive. The extension in question,
517-
which lives in the ``FrameworkBundle``, is invoked and the service configuration
518-
for the ``FrameworkBundle`` is loaded. If you remove the ``framework`` key
517+
which lives in the FrameworkBundle, is invoked and the service configuration
518+
for the FrameworkBundle is loaded. If you remove the ``framework`` key
519519
from your application configuration file entirely, the core Symfony2 services
520520
won't be loaded. The point is that you're in control: the Symfony2 framework
521521
doesn't contain any magic or perform any actions that you don't have control
522522
over.
523523

524524
Of course you can do much more than simply "activate" the service container
525-
extension of the ``FrameworkBundle``. Each extension allows you to easily
525+
extension of the FrameworkBundle. Each extension allows you to easily
526526
customize the bundle, without worrying about how the internal services are
527527
defined.
528528

529529
In this case, the extension allows you to customize the ``error_handler``,
530530
``csrf_protection``, ``router`` configuration and much more. Internally,
531-
the ``FrameworkBundle`` uses the options specified here to define and configure
531+
the FrameworkBundle uses the options specified here to define and configure
532532
the services specific to it. The bundle takes care of creating all the necessary
533533
``parameters`` and ``services`` for the service container, while still allowing
534534
much of the configuration to be easily customized. As an added bonus, most
@@ -934,7 +934,7 @@ the framework.
934934
Be sure that the ``swiftmailer`` entry appears in your application
935935
configuration. As was mentioned in :ref:`service-container-extension-configuration`,
936936
the ``swiftmailer`` key invokes the service extension from the
937-
``SwiftmailerBundle``, which registers the ``mailer`` service.
937+
SwiftmailerBundle, which registers the ``mailer`` service.
938938

939939
.. _book-service-container-tags:
940940

@@ -975,7 +975,7 @@ to be used for a specific purpose. Take the following example:
975975
$definition->addTag('twig.extension');
976976
$container->setDefinition('foo.twig.extension', $definition);
977977
978-
The ``twig.extension`` tag is a special tag that the ``TwigBundle`` uses
978+
The ``twig.extension`` tag is a special tag that the TwigBundle uses
979979
during configuration. By giving the service this ``twig.extension`` tag,
980980
the bundle knows that the ``foo.twig.extension`` service should be registered
981981
as a Twig extension with Twig. In other words, Twig finds all services tagged

book/templating.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,10 +1278,10 @@ Overriding Core Templates
12781278
~~~~~~~~~~~~~~~~~~~~~~~~~
12791279

12801280
Since the Symfony2 framework itself is just a bundle, core templates can be
1281-
overridden in the same way. For example, the core ``TwigBundle`` contains
1281+
overridden in the same way. For example, the core TwigBundle contains
12821282
a number of different "exception" and "error" templates that can be overridden
12831283
by copying each from the ``Resources/views/Exception`` directory of the
1284-
``TwigBundle`` to, you guessed it, the
1284+
TwigBundle to, you guessed it, the
12851285
``app/Resources/TwigBundle/views/Exception`` directory.
12861286

12871287
.. index::

components/http_kernel/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ as possible to the client (e.g. sending emails).
482482

483483
.. sidebar:: ``kernel.terminate`` in the Symfony Framework
484484

485-
If you use the ``SwiftmailerBundle`` with Symfony2 and use ``memory``
485+
If you use the SwiftmailerBundle with Symfony2 and use ``memory``
486486
spooling, then the :class:`Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener`
487487
is activated, which actually delivers any emails that you scheduled to
488488
send during the request.

contributing/code/tests.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Dependencies (optional)
1919

2020
To run the entire test suite, including tests that depend on external
2121
dependencies, Symfony2 needs to be able to autoload them. By default, they are
22-
autoloaded from `vendor/` under the main root directory (see
23-
`autoload.php.dist`).
22+
autoloaded from ``vendor/`` under the main root directory (see
23+
``autoload.php.dist``).
2424

2525
The test suite needs the following third-party libraries:
2626

@@ -80,12 +80,12 @@ command:
8080
8181
$ phpunit
8282
83-
The output should display `OK`. If not, you need to figure out what's going on
83+
The output should display ``OK``. If not, you need to figure out what's going on
8484
and if the tests are broken because of your modifications.
8585

8686
.. tip::
8787

88-
If you want to test a single component type its path after the `phpunit`
88+
If you want to test a single component type its path after the ``phpunit``
8989
command, e.g.:
9090

9191
.. code-block:: bash
@@ -101,18 +101,18 @@ Code Coverage
101101
-------------
102102

103103
If you add a new feature, you also need to check the code coverage by using
104-
the `coverage-html` option:
104+
the ``coverage-html`` option:
105105

106106
.. code-block:: bash
107107
108108
$ phpunit --coverage-html=cov/
109109
110-
Check the code coverage by opening the generated `cov/index.html` page in a
110+
Check the code coverage by opening the generated ``cov/index.html`` page in a
111111
browser.
112112

113113
.. tip::
114114

115-
The code coverage only works if you have XDebug enabled and all
115+
The code coverage only works if you have Xdebug enabled and all
116116
dependencies installed.
117117

118118
.. _install: http://www.phpunit.de/manual/current/en/installation.html

cookbook/bundles/extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ you'll see a number of different configuration "namespaces", such as ``framework
1111
you to configure things at a high level and then let the bundle make all the
1212
low-level, complex changes that result.
1313

14-
For example, the following tells the ``FrameworkBundle`` to enable the form
14+
For example, the following tells the FrameworkBundle to enable the form
1515
integration, which involves the defining of quite a few services as well
1616
as integration of other related components:
1717

cookbook/controller/error_pages.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ How to customize Error Pages
88
When any exception is thrown in Symfony2, the exception is caught inside the
99
``Kernel`` class and eventually forwarded to a special controller,
1010
``TwigBundle:Exception:show`` for handling. This controller, which lives
11-
inside the core ``TwigBundle``, determines which error template to display and
11+
inside the core TwigBundle, determines which error template to display and
1212
the status code that should be set for the given exception.
1313

1414
Error pages can be customized in two different ways, depending on how much
@@ -29,7 +29,7 @@ control you need:
2929
which allows complete control over exception handling. For more
3030
information, see :ref:`kernel-kernel.exception`.
3131

32-
All of the error templates live inside ``TwigBundle``. To override the
32+
All of the error templates live inside the TwigBundle. To override the
3333
templates, simply rely on the standard method for overriding templates that
3434
live inside a bundle. For more information, see
3535
:ref:`overriding-bundle-templates`.
@@ -98,10 +98,10 @@ Symfony uses the following algorithm to determine which template to use:
9898
.. tip::
9999

100100
To see the full list of default error templates, see the
101-
``Resources/views/Exception`` directory of the ``TwigBundle``. In a
102-
standard Symfony2 installation, the ``TwigBundle`` can be found at
101+
``Resources/views/Exception`` directory of the TwigBundle. In a
102+
standard Symfony2 installation, the TwigBundle can be found at
103103
``vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle``. Often, the easiest way
104-
to customize an error page is to copy it from the ``TwigBundle`` into
104+
to customize an error page is to copy it from the TwigBundle into
105105
``app/Resources/TwigBundle/views/Exception`` and then modify it.
106106

107107
.. note::

cookbook/email/dev_environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Work with Emails During Development
66

77
When developing an application which sends email, you will often
88
not want to actually send the email to the specified recipient during
9-
development. If you are using the ``SwiftmailerBundle`` with Symfony2, you
9+
development. If you are using the SwiftmailerBundle with Symfony2, you
1010
can easily achieve this through configuration settings without having to
1111
make any changes to your application's code at all. There are two main
1212
choices when it comes to handling email during development: (a) disabling the

cookbook/email/email.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to send an Email
66

77
Sending emails is a classic task for any web application and one that has
88
special complications and potential pitfalls. Instead of recreating the wheel,
9-
one solution to send emails is to use the ``SwiftmailerBundle``, which leverages
9+
one solution to send emails is to use the SwiftmailerBundle, which leverages
1010
the power of the `Swift Mailer`_ library.
1111

1212
.. note::

cookbook/email/gmail.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to use Gmail to send Emails
55
===============================
66

77
During development, instead of using a regular SMTP server to send emails, you
8-
might find using Gmail easier and more practical. The ``SwiftmailerBundle`` makes
8+
might find using Gmail easier and more practical. The SwiftmailerBundle makes
99
it really easy.
1010

1111
.. tip::

cookbook/email/spool.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Spool Emails
55
===================
66

7-
When you are using the ``SwiftmailerBundle`` to send an email from a Symfony2
7+
When you are using the SwiftmailerBundle to send an email from a Symfony2
88
application, it will default to sending the email immediately. You may, however,
99
want to avoid the performance hit of the communication between Swift Mailer
1010
and the email transport, which could cause the user to wait for the next

cookbook/email/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to test that an Email is sent in a functional Test
55
======================================================
66

77
Sending e-mails with Symfony2 is pretty straightforward thanks to the
8-
``SwiftmailerBundle``, which leverages the power of the `Swift Mailer`_ library.
8+
SwiftmailerBundle, which leverages the power of the `Swift Mailer`_ library.
99

1010
To functionally test that an email was sent, and even assert the email subject,
1111
content or any other headers, you can use :ref:`the Symfony2 Profiler <internals-profiler>`.

cookbook/security/securing_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ You can then achieve the same results as above using an annotation::
219219
annotations on public and protected methods, you cannot use them with
220220
private methods or methods marked final.
221221

222-
The ``JMSSecurityExtraBundle`` also allows you to secure the parameters and return
222+
The JMSSecurityExtraBundle also allows you to secure the parameters and return
223223
values of methods. For more information, see the `JMSSecurityExtraBundle`_
224224
documentation.
225225

cookbook/symfony1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ defined in the ``composer.json`` file.
164164

165165
If you look at the ``HelloController`` from the Symfony2 Standard Edition you
166166
can see that it lives in the ``Acme\DemoBundle\Controller`` namespace. Yet, the
167-
``AcmeDemoBundle`` is not defined in your ``composer.json`` file. Nonetheless are
167+
AcmeDemoBundle is not defined in your ``composer.json`` file. Nonetheless are
168168
the files autoloaded. This is because you can tell composer to autoload files
169169
from specific directories without defining a dependency:
170170

cookbook/workflow/new_project_svn.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ widespread standard structure:
3737
3838
.. tip::
3939

40-
Most subversion hosting should follow this standard practice. This
40+
Most Subversion hosting should follow this standard practice. This
4141
is the recommended layout in `Version Control with Subversion`_ and the
4242
layout used by most free hosting (see :ref:`svn-hosting`).
4343

@@ -59,14 +59,14 @@ To get started, you'll need to download Symfony2 and get the basic Subversion se
5959
6060
$ svn checkout http://myproject.googlecode.com/svn/trunk myproject
6161
62-
4. Copy the Symfony2 project files in the subversion folder:
62+
4. Copy the Symfony2 project files in the Subversion folder:
6363

6464
.. code-block:: bash
6565
6666
$ mv Symfony/* myproject/
6767
6868
5. Let's now set the ignore rules. Not everything *should* be stored in your
69-
subversion repository. Some files (like the cache) are generated and
69+
Subversion repository. Some files (like the cache) are generated and
7070
others (like the database configuration) are meant to be customized
7171
on each machine. This makes use of the ``svn:ignore`` property, so that
7272
specific files can be ignored.

quick_tour/the_architecture.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ PHP. Have a look at the default configuration:
193193
spool: { type: memory }
194194
195195
Each entry like ``framework`` defines the configuration for a specific bundle.
196-
For example, ``framework`` configures the ``FrameworkBundle`` while ``swiftmailer``
197-
configures the ``SwiftmailerBundle``.
196+
For example, ``framework`` configures the FrameworkBundle while ``swiftmailer``
197+
configures the SwiftmailerBundle.
198198

199199
Each :term:`environment` can override the default configuration by providing a
200200
specific configuration file. For example, the ``dev`` environment loads the

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FrameworkBundle Configuration ("framework")
77
This reference document is a work in progress. It should be accurate, but
88
all options are not yet fully covered.
99

10-
The ``FrameworkBundle`` contains most of the "base" framework functionality
10+
The FrameworkBundle contains most of the "base" framework functionality
1111
and can be configured under the ``framework`` key in your application configuration.
1212
This includes settings related to sessions, translation, forms, validation,
1313
routing and more.

0 commit comments

Comments
 (0)