Skip to content

Commit 5542d41

Browse files
committed
Deleted blank lines
1 parent bfad418 commit 5542d41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3
-64
lines changed

book/forms.rst

-2
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,6 @@ file:
14371437
- 'AcmeTaskBundle:Form'
14381438
# ...
14391439
1440-
14411440
.. code-block:: xml
14421441
14431442
<!-- app/config/config.xml -->
@@ -1638,7 +1637,6 @@ but here's a short example:
16381637
16391638
new NotBlank(array('groups' => array('create', 'update'))
16401639
1641-
16421640
Final Thoughts
16431641
--------------
16441642

book/http_fundamentals.rst

-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ the user is connecting via a secured connection (i.e. ``https``).
270270
``attributes`` property exists entirely to be a place where you can
271271
prepare and store context-specific information about the request.
272272

273-
274273
Symfony also provides a ``Response`` class: a simple PHP representation of
275274
an HTTP response message. This allows your application to use an object-oriented
276275
interface to construct the response that needs to be returned to the client::

book/installation.rst

-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ Symfony itself - into the ``vendor/`` directory.
195195
in the ``extra`` node of your composer.json file with the key
196196
``symfony-assets-install`` and the value ``symlink``:
197197

198-
199198
.. code-block:: json
200199
201200
"extra": {

book/propel.rst

-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ Propel provides the following hooks:
439439
* ``preDelete()`` code executed before deleting an object
440440
* ``postDelete()`` code executed after deleting an object
441441

442-
443442
Behaviors
444443
---------
445444

book/security.rst

-2
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,6 @@ In a controller this can be shortcut to:
13781378
$user = $this->getUser();
13791379
}
13801380
1381-
13821381
.. note::
13831382

13841383
Anonymous users are technically authenticated, meaning that the ``isAuthenticated()``
@@ -1400,7 +1399,6 @@ method:
14001399

14011400
<p>Username: <?php echo $app->getUser()->getUsername() ?></p>
14021401

1403-
14041402
Using Multiple User Providers
14051403
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14061404

book/templating.rst

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ code.
1919
How to render templates is covered in the :ref:`controller <controller-rendering-templates>`
2020
page of the book.
2121

22-
2322
.. index::
2423
single: Templating; What is a template?
2524

@@ -976,7 +975,6 @@ advantage of Symfony's template inheritance.
976975
more interesting things with those assets. For more information on
977976
using Assetic see :doc:`/cookbook/assetic/asset_management`.
978977

979-
980978
Start by adding two blocks to your base template that will hold your assets:
981979
one called ``stylesheets`` inside the ``head`` tag and another called ``javascripts``
982980
just above the closing ``body`` tag. These blocks will contain all of the
@@ -1401,7 +1399,6 @@ Template parameters can then be dumped using the ``dump`` function:
14011399
</a>
14021400
{% endfor %}
14031401

1404-
14051402
The variables will only be dumped if Twig's ``debug`` setting (in ``config.yml``)
14061403
is ``true``. By default this means that the variables will be dumped in the
14071404
``dev`` environment but not the ``prod`` environment.

book/testing.rst

-1
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,6 @@ Learn more
799799
* :doc:`/cookbook/testing/profiling`
800800
* :doc:`/cookbook/testing/bootstrap`
801801

802-
803802
.. _`DemoControllerTest`: https://github.com/symfony/symfony-standard/blob/master/src/Acme/DemoBundle/Tests/Controller/DemoControllerTest.php
804803
.. _`$_SERVER`: http://php.net/manual/en/reserved.variables.server.php
805804
.. _`documentation`: http://www.phpunit.de/manual/3.5/en/

components/config/definition.rst

-1
Original file line numberDiff line numberDiff line change
@@ -553,4 +553,3 @@ Otherwise the result is a clean array of configuration values::
553553
$configuration,
554554
$configs)
555555
;
556-

components/console/single_command_tool.rst

-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,3 @@ You can also simplify how you execute the application::
7070

7171
$application = new MyApplication();
7272
$application->run();
73-

components/dependency_injection/compilation.rst

-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ but also load a secondary one only if a certain parameter is set::
264264
$container->loadFromExtension($extension->getAlias());
265265
$container->compile();
266266

267-
268267
.. note::
269268

270269
If you need to manipulate the configuration loaded by an extension then

components/dependency_injection/configurators.rst

-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ defining a ``NewsletterManager`` class like this::
4444
// ...
4545
}
4646

47-
4847
and also a ``GreetingCardManager`` class::
4948

5049
class GreetingCardManager implements EmailFormatterAwareInterface
@@ -65,7 +64,6 @@ and also a ``GreetingCardManager`` class::
6564
// ...
6665
}
6766

68-
6967
As mentioned before, the goal is to set the formatters at runtime depending on
7068
application settings. To do this, you also have an ``EmailFormatterManager``
7169
class which is responsible for loading and validating formatters enabled
@@ -155,7 +153,6 @@ The service config for the above classes would look something like this:
155153
- [setMailer, ["@my_mailer"]]
156154
configurator: ["@email_configurator", configure]
157155
158-
159156
.. code-block:: xml
160157
161158
<services>

components/dependency_injection/definitions.rst

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.. index::
22
single: Dependency Injection; Service definitions
33

4-
54
Working with Container Service Definitions
65
==========================================
76

components/dependency_injection/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
parentservices
1616
advanced
1717
workflow
18-

components/dependency_injection/tags.rst

-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ To answer this, change the service declaration:
227227
tags:
228228
- { name: acme_mailer.transport, alias: bar }
229229
230-
231230
.. code-block:: xml
232231
233232
<service id="acme_mailer.transport.smtp" class="\Swift_SmtpTransport">

components/dependency_injection/types.rst

-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ Another possibility is just setting public fields of the class directly::
210210
'NewsletterManager'
211211
))->setProperty('mailer', new Reference('my_mailer')));
212212
213-
214213
There are mainly only disadvantages to using property injection, it is similar
215214
to setter injection but with these additional important problems:
216215

@@ -224,4 +223,3 @@ to setter injection but with these additional important problems:
224223
But, it is useful to know that this can be done with the service container,
225224
especially if you are working with code that is out of your control, such
226225
as in a third party library, which uses public properties for its dependencies.
227-

components/filesystem.rst

-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ endpoint for filesystem operations::
4747
string, an array or any object implementing :phpclass:`Traversable` as
4848
the target argument.
4949

50-
5150
Mkdir
5251
~~~~~
5352

@@ -139,7 +138,6 @@ the group of a file. The third argument is a boolean recursive option::
139138
// change the group of the video directory recursively
140139
$fs->chgrp('/video', 'nginx', true);
141140

142-
143141
.. note::
144142

145143
You can pass an array or any :phpclass:`Traversable` object as the first

components/http_foundation/introduction.rst

-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ exist::
145145
$request->query->get('bar', 'bar');
146146
// returns 'bar'
147147

148-
149148
When PHP imports the request query, it handles request parameters like
150149
``foo[bar]=bar`` in a special way as it creates an array. So you can get the
151150
``foo`` parameter and you will get back an array with a ``bar`` element. But
@@ -462,7 +461,6 @@ You can still set the ``Content-Type`` of the sent file, or change its ``Content
462461
$response->headers->set('Content-Type', 'text/plain')
463462
$response->setContentDisposition(ResponseHeaderBag::DISPOSITION_ATTACHMENT, 'filename.txt');
464463

465-
466464
.. _component-http-foundation-json-response:
467465

468466
Creating a JSON Response

components/http_foundation/session_configuration.rst

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ is called randomly according to PHP's configuration and if called, it is invoked
1919
after the `open` operation). You can read more about this at
2020
`php.net/session.customhandler`_
2121

22-
2322
Native PHP Save Handlers
2423
------------------------
2524

@@ -59,7 +58,6 @@ Example usage::
5958
where you need more control, custom save handlers may provide more freedom and flexibility.
6059
Symfony2 provides several implementations which you may further customise as required.
6160

62-
6361
Custom Save Handlers
6462
--------------------
6563

@@ -85,7 +83,6 @@ Example usage::
8583
$storage = new NativeSessionStorage(array(), new PdoSessionHandler());
8684
$session = new Session($storage);
8785

88-
8986
Configuring PHP Sessions
9087
~~~~~~~~~~~~~~~~~~~~~~~~
9188

components/http_foundation/session_testing.rst

-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ separate PHP processes, simply change the storage engine to
5656
use Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage;
5757

5858
$session = new Session(new MockFileSessionStorage());
59-

components/http_foundation/sessions.rst

-3
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ Session meta-data
134134
Gets the :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\MetadataBag`
135135
which contains information about the session.
136136

137-
138137
Session Data Management
139138
~~~~~~~~~~~~~~~~~~~~~~~
140139

@@ -167,7 +166,6 @@ the following API which is intended mainly for internal purposes:
167166
* :method:`Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface::getName`:
168167
Returns the name of the session bag.
169168

170-
171169
Attributes
172170
~~~~~~~~~~
173171

@@ -234,7 +232,6 @@ has a simple API
234232
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBagInterface::clear`:
235233
Clear the bag;
236234

237-
238235
Flash messages
239236
~~~~~~~~~~~~~~
240237

components/security/firewall.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ context works:
128128
to deny access to certain resources.
129129

130130
Read the next sections to find out more about :doc:`/components/security/authentication`
131-
and :doc:`/components/security/authorization`.
131+
and :doc:`/components/security/authorization`.

components/security/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Security
77
introduction
88
firewall
99
authentication
10-
authorization
10+
authorization

contributing/community/releases.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Below is the schedule for the first few versions that use this release model:
7575

7676
This results in very predictable dates and maintenance periods:
7777

78-
7978
+---------+---------+---------------------+-------------+
8079
| Version | Release | End of Maintenance | End of Life |
8180
+=========+=========+=====================+=============+
@@ -159,4 +158,4 @@ upgrade.
159158
.. _Git repository: https://github.com/symfony/symfony
160159
.. _SensioLabs: http://sensiolabs.com/
161160
.. _roadmap: http://symfony.com/roadmap
162-
.. _`timeline calculator`: http://symfony.com/roadmap
161+
.. _`timeline calculator`: http://symfony.com/roadmap

cookbook/assetic/yuicompressor.rst

-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ apply this filter when debug mode is off.
153153
<script src="<?php echo $view->escape($url) ?>"></script>
154154
<?php endforeach; ?>
155155
156-
157156
.. tip::
158157

159158
Instead of adding the filter to the asset tags, you can also globally
@@ -163,7 +162,6 @@ apply this filter when debug mode is off.
163162
common config file. For details on applying filters by file extension,
164163
see :ref:`cookbook-assetic-apply-to`.
165164

166-
167165
.. _`YUI Compressor`: http://developer.yahoo.com/yui/compressor/
168166
.. _`Download the JAR`: http://yuilibrary.com/projects/yuicompressor/
169167
.. _`deprecation process`: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/

cookbook/bundles/inheritance.rst

-1
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,3 @@ The same goes for routing files, validation configuration and other resources.
102102
translations.
103103

104104
.. _`FOSUserBundle`: https://github.com/friendsofsymfony/fosuserbundle
105-

cookbook/bundles/prepend_extension.rst

-1
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,3 @@ for ``acme_hello`` is set to ``non_default``:
132132
...,
133133
'use_acme_goodbye' => false,
134134
));
135-

cookbook/configuration/environments.rst

-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ includes the following:
345345
You can easily change the directory location and name. For more information
346346
read the article :doc:`/cookbook/configuration/override_dir_structure`.
347347

348-
349348
Going Further
350349
-------------
351350

cookbook/console/logging.rst

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ method, where exception handling should happen:
8686
code, though there is a high risk that something may break when upgrading
8787
to future versions of Symfony.
8888

89-
9089
.. code-block:: php
9190
9291
// src/Acme/DemoBundle/Console/Application.php

cookbook/console/sending_emails.rst

-1
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,3 @@ commands and uses a different spooling method.
115115
Taking care of the spooling is only needed when memory spooling is used.
116116
If you are using file spooling (or no spooling at all), there is no need
117117
to flush the queue manually within the command.
118-

cookbook/event_dispatcher/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ Event Dispatcher
77
before_after_filters
88
class_extension
99
method_behavior
10-

cookbook/form/form_collections.rst

-1
Original file line numberDiff line numberDiff line change
@@ -733,5 +733,4 @@ the relationship between the removed ``Tag`` and ``Task`` object.
733733
updated (whether you're adding new tags or removing existing tags) on
734734
each Tag object itself.
735735

736-
737736
.. _`Owning Side and Inverse Side`: http://docs.doctrine-project.org/en/latest/reference/unitofwork-associations.html

cookbook/form/form_customization.rst

-3
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ form is rendered.
508508
- 'AcmeDemoBundle:Form'
509509
# ...
510510
511-
512511
.. code-block:: xml
513512
514513
<!-- app/config/config.xml -->
@@ -521,7 +520,6 @@ form is rendered.
521520
<!-- ... -->
522521
</framework:config>
523522
524-
525523
.. code-block:: php
526524
527525
// app/config/config.php
@@ -756,7 +754,6 @@ and customize the ``form_errors`` fragment.
756754
</ul>
757755
<?php endif ?>
758756

759-
760757
.. tip::
761758

762759
See :ref:`cookbook-form-theming-methods` for how to apply this customization.

cookbook/logging/monolog.rst

-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ using a processor.
267267
}
268268
}
269269
270-
271270
.. configuration-block::
272271

273272
.. code-block:: yaml

cookbook/logging/monolog_email.rst

-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ it is broken down.
8686
),
8787
));
8888
89-
9089
The ``mail`` handler is a ``fingers_crossed`` handler which means that
9190
it is only triggered when the action level, in this case ``critical`` is reached.
9291
It then logs everything including messages below the action level. The
@@ -212,7 +211,6 @@ get logged on the server as well as the emails being sent:
212211
),
213212
));
214213
215-
216214
This uses the ``group`` handler to send the messages to the two
217215
group members, the ``buffered`` and the ``stream`` handlers. The messages will
218216
now be both written to the log file and emailed.

cookbook/map.rst.inc

-1
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,3 @@
173173

174174
* :doc:`/cookbook/workflow/new_project_git`
175175
* :doc:`/cookbook/workflow/new_project_svn`
176-

cookbook/security/acl.rst

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ First, you need to configure the connection the ACL system is supposed to use:
5858
'connection' => 'default',
5959
));
6060
61-
6261
.. note::
6362

6463
The ACL system requires a connection from either Doctrine DBAL (usable by

0 commit comments

Comments
 (0)