Skip to content

Commit 6bd7ba2

Browse files
committed
minor #8947 Clean up (carusogabriel)
This PR was squashed before being merged into the 3.3 branch (closes #8947). Discussion ---------- Clean up Following #8945, suggested by @wouterj Commits ------- 29f2d40 Clean up
2 parents aab5c94 + 29f2d40 commit 6bd7ba2

28 files changed

+33
-41
lines changed

components/asset.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ any versioning::
6666
// Absolute path
6767
echo $package->getUrl('/image.png');
6868
// result: /image.png
69-
69+
7070
// Relative path
7171
echo $package->getUrl('image.png');
7272
// result: image.png
@@ -113,7 +113,7 @@ suffix to any asset path::
113113
// Absolute path
114114
echo $package->getUrl('/image.png');
115115
// result: /image.png?v1
116-
116+
117117
// Relative path
118118
echo $package->getUrl('image.png');
119119
// result: image.png?v1
@@ -132,7 +132,7 @@ string as the second argument of the ``StaticVersionStrategy`` constructor::
132132

133133
echo $package->getUrl('/image.png');
134134
// result: /v1/image.png
135-
135+
136136
echo $package->getUrl('image.png');
137137
// result: v1/image.png
138138

@@ -183,7 +183,7 @@ that path over and over again::
183183

184184
echo $package->getUrl('logo.png');
185185
// result: /static/images/logo.png?v1
186-
186+
187187
// Base path is ignored when using absolute paths
188188
echo $package->getUrl('/logo.png');
189189
// result: /logo.png?v1

components/cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Now you can create, retrieve, update and delete items using this object::
7878

7979
// remove the cache key
8080
$cache->delete('stats.num_products');
81-
81+
8282
// clear *all* cache keys
8383
$cache->clear();
8484

components/cache/adapters/pdo_doctrine_dbal_adapter.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ PDO & Doctrine DBAL Cache Adapter
1111

1212
The PDO & Doctrine DBAL adapter was introduced in Symfony 3.2.
1313

14-
1514
This adapter stores the cache items in an SQL database. It requires a `PDO`_,
1615
`Doctrine DBAL Connection`_, or `Data Source Name (DSN)`_ as its first parameter, and
1716
optionally a namespace, default cache lifetime, and options array as its second,

components/cache/cache_pools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ when all items are successfully deleted)::
130130
.. code-block:: terminal
131131
132132
$ php bin/console cache:pool:clear <cache-pool-name>
133-
133+
134134
# clears the "cache.app" pool
135135
$ php bin/console cache:pool:clear cache.app
136136

components/cache/psr6_psr16_adapters.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ this use-case::
4444

4545
// a PSR-6 cache that uses your cache internally!
4646
$psr6Cache = new SimpleCacheAdapter($psr16Cache);
47-
47+
4848
// now use this wherever you want
4949
$githubApiClient = new GitHubApiClient($psr6Cache);
5050

@@ -81,6 +81,6 @@ this use-case::
8181

8282
// a PSR-16 cache that uses your cache internally!
8383
$psr16Cache = new Psr6Cache($psr6Cache);
84-
84+
8585
// now use this wherever you want
8686
$githubApiClient = new GitHubApiClient($psr16Cache);

components/filesystem.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ The Filesystem Component
66

77
The Filesystem component provides basic utilities for the filesystem.
88

9-
109
Installation
1110
------------
1211

components/phpunit_bridge.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Modified PHPUnit script
415415
-----------------------
416416

417417
.. versionadded:: 3.2
418-
This modified PHPUnit script was introduced in the 3.2 version of
418+
This modified PHPUnit script was introduced in the 3.2 version of
419419
this component.
420420

421421
This bridge provides a modified version of PHPUnit that you can call by using
@@ -448,7 +448,7 @@ If you have installed the bridge through Composer, you can run it by calling e.g
448448

449449
.. tip::
450450

451-
If you still need to use ``prophecy`` (but not ``symfony/yaml``),
451+
If you still need to use ``prophecy`` (but not ``symfony/yaml``),
452452
then set the ``SYMFONY_PHPUNIT_REMOVE`` env var to ``symfony/yaml``.
453453

454454
.. _PHPUnit: https://phpunit.de

components/routing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ routes with UTF-8 characters:
425425
426426
return $collection;
427427
428-
429428
In this route, the ``utf8`` option set to ``true`` makes Symfony consider the
430429
``.`` requirement to match any UTF-8 characters instead of just a single
431430
byte character. This means that so the following URLs would match:
@@ -508,7 +507,7 @@ You can also include UTF-8 strings as routing requirements:
508507
// ...
509508
510509
return $collection;
511-
510+
512511
.. tip::
513512

514513
In addition to UTF-8 characters, the Routing component also supports all

components/serializer.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ an exception when additional attributes are passed::
170170
'allow_extra_attributes' => false,
171171
));
172172

173-
174173
Deserializing in an Existing Object
175174
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
176175

components/var_dumper/advanced.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ method::
202202
Support for passing display options to the ``dump()`` method was introduced
203203
in Symfony 3.2.
204204

205-
The output format of a dumper can be fine tuned by the two flags
205+
The output format of a dumper can be fine tuned by the two flags
206206
``DUMP_STRING_LENGTH`` and ``DUMP_LIGHT_ARRAY`` which are passed as a bitmap
207-
in the third constructor argument. They can also be set via environment
207+
in the third constructor argument. They can also be set via environment
208208
variables when using
209209
:method:`assertDumpEquals($dump, $data, $message) <Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait::assertDumpEquals>`
210210
during unit testing.

0 commit comments

Comments
 (0)