Skip to content

Commit 069552f

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Remove space before self closing xml tag use Cookie::create()
2 parents ef84fa1 + 8ed6017 commit 069552f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ attribute::
413413

414414
use Symfony\Component\HttpFoundation\Cookie;
415415

416-
$response->headers->setCookie(new Cookie('foo', 'bar'));
416+
$response->headers->setCookie(Cookie::create('foo', 'bar'));
417417

418418
The
419419
:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::setCookie`

components/phpunit_bridge.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ If you have installed the bridge through Composer, you can run it by calling e.g
649649

650650
It's possible to change the base version of PHPUnit by setting the
651651
``SYMFONY_PHPUNIT_VERSION`` env var in the ``phpunit.xml.dist`` file (e.g.
652-
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5" />``). This is the
652+
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5"/>``). This is the
653653
preferred method as it can be committed to your version control repository.
654654

655655
It's also possible to set ``SYMFONY_PHPUNIT_VERSION`` as a real env var

0 commit comments

Comments
 (0)