Skip to content

Commit 2569fa5

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: Fix passing arguments to "Client" constructor Revert back to SF 3 directory structure
2 parents f0badb4 + 7b219e0 commit 2569fa5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/browser_kit.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ into the client constructor::
191191
use Acme\Client;
192192

193193
// create cookies and add to cookie jar
194-
$cookieJar = new Cookie('flavor', 'chocolate', strtotime('+1 day'));
194+
$cookie = new Cookie('flavor', 'chocolate', strtotime('+1 day'));
195+
$cookieJar = new CookieJar();
196+
$cookieJar->set($cookie);
195197

196198
// create a client and set the cookies
197199
$client = new Client(array(), null, $cookieJar);

frontend/encore/versioning.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ignoring any existing cache:
1616
// ...
1717
1818
Encore
19-
.setOutputPath('public/build/')
19+
.setOutputPath('web/build/')
2020
// ...
2121
+ .enableVersioning()
2222
@@ -49,7 +49,7 @@ in your ``script`` and ``link`` tags. If you're using Symfony, just activate the
4949
# ...
5050
assets:
5151
# feature is supported in Symfony 3.3 and higher
52-
json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'
52+
json_manifest_path: '%kernel.project_dir%/web/build/manifest.json'
5353
5454
That's it! Just be sure to wrap each path in the Twig ``asset()`` function
5555
like normal:

0 commit comments

Comments
 (0)