Skip to content

Commit ea90710

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [#15009] Fix inconsistent diff examples
2 parents 5266709 + d66f89e commit ea90710

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

frontend/encore/legacy-applications.rst

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy