Skip to content

Commit bde0cd9

Browse files
committed
minor symfony#10938 Use the --dev option consistently for Composer and Yarn (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Use the --dev option consistently for Composer and Yarn This fixes symfony#10933. This changes Symfony Docs to use these patterns: * `composer require --dev ...` * `yarn add ... --dev` Yarn's pattern is the one recommended and used by them in their official docs: https://yarnpkg.com/lang/en/docs/cli/add/ Commits ------- cf5d474 Use the --dev option consistently for Composer and Yarn
2 parents 2759fd3 + cf5d474 commit bde0cd9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/var_dumper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installation
1414

1515
.. code-block:: terminal
1616
17-
$ composer require symfony/var-dumper --dev
17+
$ composer require --dev symfony/var-dumper
1818
1919
Alternatively, you can clone the `<https://github.com/symfony/var-dumper>`_ repository.
2020

frontend/encore/postcss.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ First, download ``postcss-loader`` and any plugins you want, like ``autoprefixer
88

99
.. code-block:: terminal
1010
11-
$ yarn add --dev postcss-loader autoprefixer
11+
$ yarn add postcss-loader autoprefixer --dev
1212
1313
Next, create a ``postcss.config.js`` file at the root of your project:
1414

frontend/encore/url-loader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ it's disabled by default. First, add the URL loader to your project:
1010

1111
.. code-block:: terminal
1212
13-
$ yarn add --dev url-loader
13+
$ yarn add url-loader --dev
1414
1515
Then enable it in your ``webpack.config.js``:
1616

0 commit comments

Comments
 (0)