Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b14e126

Browse filesBrowse files
committed
Merge branch '3.4' into 4.1
* 3.4: Fix typo Use the --dev option consistently for Composer and Yarn
2 parents 33e1d59 + da51a30 commit b14e126
Copy full SHA for b14e126

File tree

4 files changed

+10
-10
lines changed
Filter options

4 files changed

+10
-10
lines changed

‎components/var_dumper.rst

Copy file name to clipboardExpand all lines: components/var_dumper.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: frontend/encore/postcss.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: frontend/encore/url-loader.rst
+1-1Lines 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

‎service_container/service_decoration.rst

Copy file name to clipboardExpand all lines: service_container/service_decoration.rst
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -271,17 +271,17 @@ the ``decoration_priority`` option. Its value is an integer that defaults to
271271
// config/services.php
272272
use Symfony\Component\DependencyInjection\Reference;
273273
274-
$container->register(Foo:class)
274+
$container->register(Foo::class)
275275
276-
$container->register(Bar:class)
277-
->addArgument(new Reference(Bar:class.'.inner'))
276+
$container->register(Bar::class)
277+
->addArgument(new Reference(Bar::class.'.inner'))
278278
->setPublic(false)
279-
->setDecoratedService(Foo:class, null, 5);
279+
->setDecoratedService(Foo::class, null, 5);
280280
281-
$container->register(Baz:class)
282-
->addArgument(new Reference(Baz:class.'.inner'))
281+
$container->register(Baz::class)
282+
->addArgument(new Reference(Baz::class.'.inner'))
283283
->setPublic(false)
284-
->setDecoratedService(Foo:class, null, 1);
284+
->setDecoratedService(Foo::class, null, 1);
285285
286286
The generated code will be the following::
287287

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.