Skip to content

Commit d66f89e

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [#15009] Fix inconsistent diff examples
2 parents 23383a2 + 8132571 commit d66f89e

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

frontend/encore/legacy-applications.rst

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jQuery plugins often expect that jQuery is already available via the ``$`` or
3232

3333
.. code-block:: diff
3434
35+
// webpack.config.js
3536
Encore
3637
// ...
3738
+ .autoProvidejQuery()
@@ -74,6 +75,8 @@ page, add:
7475

7576
.. code-block:: diff
7677
78+
// webpack.config.js
79+
7780
// require jQuery normally
7881
const $ = require('jquery');
7982

frontend/encore/split-chunks.rst

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ To enable this, call ``splitEntryChunks()``:
1010

1111
.. code-block:: diff
1212
13+
// webpack.config.js
1314
Encore
1415
// ...
1516
@@ -53,6 +54,7 @@ this plugin with the ``configureSplitChunks()`` function:
5354

5455
.. code-block:: diff
5556
57+
// webpack.config.js
5658
Encore
5759
// ...
5860

frontend/encore/typescript.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Want to use `TypeScript`_? No problem! First, enable it:
66
.. code-block:: diff
77
88
// webpack.config.js
9-
// ...
109
10+
// ...
1111
Encore
1212
// ...
1313
+ .addEntry('main', './assets/main.ts')
@@ -30,6 +30,7 @@ method.
3030

3131
.. code-block:: diff
3232
33+
// webpack.config.js
3334
Encore
3435
// ...
3536
.addEntry('main', './assets/main.ts')

frontend/encore/versioning.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ignoring any existing cache:
1313
.. code-block:: diff
1414
1515
// webpack.config.js
16-
// ...
1716
17+
// ...
1818
Encore
1919
.setOutputPath('public/build/')
2020
// ...

quick_tour/flex_recipes.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ Thanks to Flex, after one command, you can start using Twig immediately:
8383
- use Symfony\Component\HttpFoundation\Response;
8484
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
8585
86-
-class DefaultController
87-
+class DefaultController extends AbstractController
88-
{
86+
- class DefaultController
87+
+ class DefaultController extends AbstractController
88+
{
8989
/**
9090
* @Route("/hello/{name}")
9191
*/

setup/flex.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ manual steps:
6161
{
6262
"require": {
6363
"symfony/flex": "^1.0",
64-
+ },
65-
+ "conflict": {
66-
+ "symfony/symfony": "*"
64+
+ },
65+
+ "conflict": {
66+
+ "symfony/symfony": "*"
6767
}
6868
}
6969

0 commit comments

Comments
 (0)