Skip to content

Commit ccfdead

Browse files
committed
use diff code block
1 parent 1f02486 commit ccfdead

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

setup/flex.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,16 @@ manual steps:
181181
``composer.json`` file as `shown in this example of the skeleton-project`_ so that
182182
it will not be installed again:
183183

184-
.. code-block:: json
185-
186-
"conflict": {
187-
"symfony/symfony": "*"
188-
},
184+
.. code-block:: diff
185+
186+
{
187+
"require": {
188+
"symfony/flex": "^1.0",
189+
+ },
190+
+ "conflict": {
191+
+ "symfony/symfony": "*"
192+
}
193+
}
189194
190195
Now you must add in ``composer.json`` all the Symfony dependencies required
191196
by your project. A quick way to do that is to add all the components that

0 commit comments

Comments
 (0)