Skip to content

Commit d117184

Browse files
committed
minor #8944 Clean up (carusogabriel)
This PR was squashed before being merged into the 2.7 branch (closes #8944). Discussion ---------- Clean up I've removed all white spaces and extra lines from our documentation 😄 Commits ------- 63517b9 Remove extra lines fc9e351 Trailing whitespaces
2 parents 89ab51e + 63517b9 commit d117184

Some content is hidden

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

57 files changed

+125
-176
lines changed

bundles/configuration.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ bundle configuration would look like:
120120
For parameter handling within a dependency injection container see
121121
:doc:`/configuration/using_parameters_in_dic`.
122122

123-
124123
Processing the ``$configs`` Array
125124
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
126125

@@ -275,7 +274,6 @@ In your extension, you can load this and dynamically set its arguments::
275274
$def->replaceArgument(1, $config['twitter']['client_secret']);
276275
}
277276

278-
279277
.. tip::
280278

281279
Instead of calling ``processConfiguration()`` in your extension each time you

bundles/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ version, include it as the second argument of the `composer require`_ command:
4848
B) Enable the Bundle
4949
--------------------
5050

51-
At this point, the bundle is installed in your Symfony project (e.g.
51+
At this point, the bundle is installed in your Symfony project (e.g.
5252
``vendor/friendsofsymfony/``) and the autoloader recognizes its classes.
5353
The only thing you need to do now is register the bundle in ``AppKernel``::
5454

changelog.rst

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. index::
22
single: CHANGELOG
3-
3+
44
.. !! CAUTION !!
55
This file is automatically generated. Do not add new changelog
66
items when preparing a pull request.
@@ -69,7 +69,6 @@ Minor Documentation Changes
6969
* `#7014 <https://github.com/symfony/symfony-docs/pull/7014>`_ Add a note about Filesystem:mkdir behavior (mickaelandrieu)
7070
* `#6886 <https://github.com/symfony/symfony-docs/pull/6886>`_ Update controllers.rst (asandjivy)
7171

72-
7372
September, 2016
7473
---------------
7574

@@ -81,7 +80,6 @@ New Documentation
8180
Fixed Documentation
8281
~~~~~~~~~~~~~~~~~~~
8382

84-
8583
Minor Documentation Changes
8684
~~~~~~~~~~~~~~~~~~~~~~~~~~~
8785

@@ -121,7 +119,6 @@ Minor Documentation Changes
121119
* `#6945 <https://github.com/symfony/symfony-docs/pull/6945>`_ Fixed indentation issues in alias_private article (javiereguiluz)
122120
* `#6955 <https://github.com/symfony/symfony-docs/pull/6955>`_ Typo in the class name. (pythagor)
123121

124-
125122
August, 2016
126123
------------
127124

@@ -197,7 +194,6 @@ Minor Documentation Changes
197194
* `#6810 <https://github.com/symfony/symfony-docs/pull/6810>`_ Fixed the redirection of the previous "performance" book chapter (javiereguiluz)
198195
* `#6816 <https://github.com/symfony/symfony-docs/pull/6816>`_ Added all the missing "index pages" redirections (javiereguiluz)
199196

200-
201197
July, 2016
202198
----------
203199

@@ -288,7 +284,6 @@ Minor Documentation Changes
288284
* `#5892 <https://github.com/symfony/symfony-docs/pull/5892>`_ Updated the session proxy article (javiereguiluz)
289285
* `#6697 <https://github.com/symfony/symfony-docs/pull/6697>`_ [Asset] add versionadded directive (xabbuh)
290286

291-
292287
June, 2016
293288
----------
294289

@@ -338,7 +333,6 @@ Minor Documentation Changes
338333
* `#6627 <https://github.com/symfony/symfony-docs/pull/6627>`_ Fixed a typo in cookbook/security/entity_provider (michaeldegroot)
339334
* `#6618 <https://github.com/symfony/symfony-docs/pull/6618>`_ Added a note about coding standards and method arguments (javiereguiluz)
340335

341-
342336
May, 2016
343337
---------
344338

@@ -409,7 +403,6 @@ Minor Documentation Changes
409403
* `#6525 <https://github.com/symfony/symfony-docs/pull/6525>`_ [Contributing] use more precise version checker URL (xabbuh)
410404
* `#6528 <https://github.com/symfony/symfony-docs/pull/6528>`_ Fixed a minor indentation issue (javiereguiluz)
411405

412-
413406
April, 2016
414407
-----------
415408

@@ -454,7 +447,6 @@ Minor Documentation Changes
454447
* `#6420 <https://github.com/symfony/symfony-docs/pull/6420>`_ Added tip for optional second parameter for form submissions. (Michael Phillips)
455448
* `#6418 <https://github.com/symfony/symfony-docs/pull/6418>`_ fix spelling of the flashBag() method (xabbuh)
456449

457-
458450
March, 2016
459451
-----------
460452

@@ -514,7 +506,6 @@ Minor Documentation Changes
514506
* `#6267 <https://github.com/symfony/symfony-docs/pull/6267>`_ [Form] fix 'data_class' option in EntityType (HeahDude)
515507
* `#6281 <https://github.com/symfony/symfony-docs/pull/6281>`_ Change isValid to isSubmitted. (mustafaaloko)
516508

517-
518509
February, 2016
519510
--------------
520511

@@ -585,7 +576,6 @@ Minor Documentation Changes
585576
* `#6208 <https://github.com/symfony/symfony-docs/pull/6208>`_ Replace references of PSR-0 with PSR-4 (opdavies)
586577
* `#6190 <https://github.com/symfony/symfony-docs/pull/6190>`_ Fix redundant command line sample (sylozof)
587578

588-
589579
January, 2016
590580
-------------
591581

@@ -636,7 +626,6 @@ Minor Documentation Changes
636626
* `#6102 <https://github.com/symfony/symfony-docs/pull/6102>`_ promoted xabbuh as merger on the Yaml component (fabpot)
637627
* `#6013 <https://github.com/symfony/symfony-docs/pull/6013>`_ [2.7][Form] placeholder option: replace "in favor" misuses (ogizanagi)
638628

639-
640629
December, 2015
641630
--------------
642631

@@ -709,7 +698,6 @@ Minor Documentation Changes
709698
* `#5972 <https://github.com/symfony/symfony-docs/pull/5972>`_ Add isSubmitted call (DanielSiepmann)
710699
* `#5961 <https://github.com/symfony/symfony-docs/pull/5961>`_ update from_flat_php_to_symfony2.rst (thao-witkam)
711700

712-
713701
November, 2015
714702
--------------
715703

@@ -772,7 +760,6 @@ Minor Documentation Changes
772760
* `#5852 <https://github.com/symfony/symfony-docs/pull/5852>`_ Fix doc for 2.6+, `server:start` replace `...:run` (Kevinrob)
773761
* `#5837 <https://github.com/symfony/symfony-docs/pull/5837>`_ Corrected link to ConEmu (dritter)
774762

775-
776763
October, 2015
777764
-------------
778765

@@ -829,7 +816,6 @@ Minor Documentation Changes
829816
* `#5684 <https://github.com/symfony/symfony-docs/pull/5684>`_ Fix delivery_whitelist regex (gonzalovilaseca)
830817
* `#5742 <https://github.com/symfony/symfony-docs/pull/5742>`_ incorrect: severity is an array key here and not a constant (lbayerl)
831818

832-
833819
September, 2015
834820
---------------
835821

@@ -886,7 +872,6 @@ Minor Documentation Changes
886872
* `#5571 <https://github.com/symfony/symfony-docs/pull/5571>`_ Some small fixes for upload files article (WouterJ)
887873
* `#5660 <https://github.com/symfony/symfony-docs/pull/5660>`_ Improved "Community Reviews" page (webmozart)
888874

889-
890875
August, 2015
891876
------------
892877

@@ -938,7 +923,6 @@ Minor Documentation Changes
938923
* `#5601 <https://github.com/symfony/symfony-docs/pull/5601>`_ Update lazy_services.rst (baziak3)
939924
* `#5591 <https://github.com/symfony/symfony-docs/pull/5591>`_ Update templating.rst: lint:twig instead of twig:lint in 2.7 (alexwybraniec)
940925

941-
942926
July, 2015
943927
----------
944928

@@ -1024,7 +1008,6 @@ Minor Documentation Changes
10241008
* `#5473 <https://github.com/symfony/symfony-docs/pull/5473>`_ --dev is default and causes a warning (DQNEO)
10251009
* `#5474 <https://github.com/symfony/symfony-docs/pull/5474>`_ typo in components/translation/instruction.rst (beesofts)
10261010

1027-
10281011
June, 2015
10291012
----------
10301013

@@ -1120,7 +1103,6 @@ Minor Documentation Changes
11201103
* `#5357 <https://github.com/symfony/symfony-docs/pull/5357>`_ [Form] Replace deprecated form_enctype by form_start (JMLamodiere)
11211104
* `#5359 <https://github.com/symfony/symfony-docs/pull/5359>`_ Bumped version of proxy manager to stable release (peterrehm)
11221105

1123-
11241106
May, 2015
11251107
---------
11261108

@@ -1214,7 +1196,6 @@ Minor Documentation Changes
12141196
* `#5238 <https://github.com/symfony/symfony-docs/pull/5238>`_ Fixed typo and removed outdated imports (nomack84)
12151197
* `#5240 <https://github.com/symfony/symfony-docs/pull/5240>`_ [Cookbook][Email] revert #4808 (xabbuh)
12161198

1217-
12181199
April, 2015
12191200
-----------
12201201

components/console/helpers/questionhelper.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ will be autocompleted as the user types::
174174
{
175175
// ...
176176
$helper = $this->getHelper('question');
177-
177+
178178
$bundles = array('AcmeDemoBundle', 'AcmeBlogBundle', 'AcmeStoreBundle');
179179
$question = new Question('Please enter the name of a bundle', 'FooBundle');
180180
$question->setAutocompleterValues($bundles);
@@ -195,7 +195,7 @@ convenient for passwords::
195195
{
196196
// ...
197197
$helper = $this->getHelper('question');
198-
198+
199199
$question = new Question('What is the database password?');
200200
$question->setHidden(true);
201201
$question->setHiddenFallback(false);
@@ -230,7 +230,7 @@ method::
230230
{
231231
// ...
232232
$helper = $this->getHelper('question');
233-
233+
234234
$question = new Question('Please enter the name of the bundle', 'AppBundle');
235235
$question->setNormalizer(function ($value) {
236236
// $value can be null here
@@ -240,7 +240,6 @@ method::
240240
$name = $helper->ask($input, $output, $question);
241241
}
242242

243-
244243
.. caution::
245244

246245
The normalizer is called first and the returned value is used as the input

components/dom_crawler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,13 @@ a :class:`Symfony\\Component\\DomCrawler\\Form` object that represents the
339339
form that the button lives in::
340340

341341
// button example: <button id="my-super-button" type="submit">My super button</button>
342-
342+
343343
// you can get button by its label
344344
$form = $crawler->selectButton('My super button')->form();
345-
345+
346346
// or by button id (#my-super-button) if the button doesn't have a label
347347
$form = $crawler->selectButton('my-super-button')->form();
348-
348+
349349
// or you can filter the whole form, for example a form has a class attribute: <form class="form-vertical" method="POST">
350350
$crawler->filter('.form-vertical')->form();
351351

components/expression_language/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ to add custom functions. To do so, you can create a new expression provider by
6464
creating a class that implements
6565
:class:`Symfony\\Component\\ExpressionLanguage\\ExpressionFunctionProviderInterface`.
6666

67-
This interface requires one method:
67+
This interface requires one method:
6868
:method:`Symfony\\Component\\ExpressionLanguage\\ExpressionFunctionProviderInterface::getFunctions`,
6969
which returns an array of expression functions (instances of
7070
:class:`Symfony\\Component\\ExpressionLanguage\\ExpressionFunction`) to

components/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ The Components
44
.. toctree::
55
:maxdepth: 1
66
:glob:
7-
7+
88
using_components
99
*

components/options_resolver.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ is thrown::
403403
For options with more complicated validation schemes, pass a closure which
404404
returns ``true`` for acceptable values and ``false`` for invalid values::
405405

406-
407406
// ...
408407
$resolver->setAllowedValues('transport', function ($value) {
409408
// return true or false

components/property_access.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,5 @@ Or you can pass parameters directly to the constructor (not the recommended way)
457457
// ...
458458
$accessor = new PropertyAccessor(true); // this enables handling of magic __call
459459

460-
461460
.. _Packagist: https://packagist.org/packages/symfony/property-access
462461
.. _The Inflector component: https://github.com/symfony/inflector

components/security/authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ firewall map is able to extract the user's credentials from the current
1515
a token, containing these credentials. The next thing the listener should
1616
do is ask the authentication manager to validate the given token, and return
1717
an *authenticated* token if the supplied credentials were found to be valid.
18-
The listener should then store the authenticated token using
18+
The listener should then store the authenticated token using
1919
:class:`the token storage <Symfony\\Component\\Security\\Core\\Authentication\\Token\\Storage\\TokenStorageInterface>`::
2020

2121
use Symfony\Component\Security\Http\Firewall\ListenerInterface;

components/serializer.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ You can install the component in 2 different ways:
3232
* :doc:`Install it via Composer </components/using_components>` (``symfony/serializer`` on `Packagist`_);
3333
* Use the official Git repository (https://github.com/symfony/serializer).
3434

35-
3635
.. include:: /components/require_autoload.rst.inc
3736

3837
To use the ``ObjectNormalizer``, the :doc:`PropertyAccess component </components/property_access>`

components/stopwatch.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ microtime by yourself. Instead, use the simple
3434
$event = $stopwatch->stop('eventName');
3535

3636
The :class:`Symfony\\Component\\Stopwatch\\StopwatchEvent` object can be retrieved
37-
from the :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`,
38-
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop`,
39-
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::lap` and
40-
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::getEvent` methods.
37+
from the :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`,
38+
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop`,
39+
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::lap` and
40+
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::getEvent` methods.
4141
The latter should be used when you need to retrieve the duration of an event
4242
while it is still running.
4343

0 commit comments

Comments
 (0)