File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,8 @@ PostgreSqlStore
465
465
466
466
The PostgreSqlStore uses `Advisory Locks `_ provided by PostgreSQL. It requires a
467
467
`PDO `_ connection, a `Doctrine DBAL Connection `_, or a
468
- `Data Source Name (DSN) `_. It supports native blocking, as well as sharing locks.
468
+ `Data Source Name (DSN) `_. It supports native blocking, as well as sharing
469
+ locks::
469
470
470
471
use Symfony\Component\Lock\Store\PostgreSqlStore;
471
472
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ The ``getValue()`` method can also use the magic ``__get()`` method::
225
225
Magic ``__call() `` Method
226
226
~~~~~~~~~~~~~~~~~~~~~~~~~
227
227
228
- At last , ``getValue() `` can use the magic ``__call() `` method, but you need to
228
+ Lastly , ``getValue() `` can use the magic ``__call() `` method, but you need to
229
229
enable this feature by using :class: `Symfony\\ Component\\ PropertyAccess\\ PropertyAccessorBuilder `::
230
230
231
231
// ...
Original file line number Diff line number Diff line change @@ -411,6 +411,16 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
411
411
not dispatched. If you need to test those events, use the
412
412
:class: `Symfony\\ Component\\ Console\\ Tester\\ ApplicationTester ` instead.
413
413
414
+ .. caution ::
415
+
416
+ When testing commands using the :class: `Symfony\\ Component\\ Console\\ Tester\\ ApplicationTester `
417
+ class, don't forget to disable the auto exit flag::
418
+
419
+ $application = new Application();
420
+ $application->setAutoExit(false);
421
+
422
+ $tester = new ApplicationTester($application);
423
+
414
424
.. note ::
415
425
416
426
When using the Console component in a standalone project, use
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ Symfony includes the following normalizers but you can also
36
36
transform :phpclass: `SplFileInfo ` objects in `Data URIs `_
37
37
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ CustomNormalizer ` to
38
38
normalize PHP object using an object that implements
39
+ :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ NormalizableInterface `;
39
40
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ FormErrorNormalizer ` for
40
41
objects implementing the :class: `Symfony\\ Component\\ Form\\ FormInterface ` to
41
- normalize form errors.
42
- :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ NormalizableInterface `;
42
+ normalize form errors;
43
43
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ GetSetMethodNormalizer ` to
44
44
normalize PHP object using the getter and setter methods of the object;
45
45
* :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ PropertyNormalizer ` to
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Symfony version has deprecated some of its features.
68
68
$ cd projects/my_project/
69
69
$ git checkout -b testing_new_symfony
70
70
# ... update composer.json configuration
71
- $ composer update symfony/symfony
71
+ $ composer update " symfony/*"
72
72
73
73
# ... after testing the new Symfony version
74
74
$ git checkout master
You can’t perform that action at this time.
0 commit comments