Skip to content

Commit 85f3dca

Browse files
LANGERGabrielleezimuel
authored andcommitted
Removed false information about composer install --no-dev
https://getcomposer.org/doc/03-cli.md#install-i composer install --no-dev skips the require-dev dependencies of the project. The require-dev dependencies of the packages are never installed.
1 parent 909911e commit 85f3dca

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

docs/installation.asciidoc

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use `dev-master` in your production code.
6666
[source,shell]
6767
--------------------------
6868
curl -s http://getcomposer.org/installer | php
69-
php composer.phar install --no-dev
69+
php composer.phar install
7070
--------------------------
7171
+
7272
More information about
@@ -87,15 +87,3 @@ Client instantiation is performed with a static helper function `create()`. This
8787
creates a ClientBuilder object, which helps you to set custom configurations.
8888
When you are done configuring, call the `build()` method to generate a `Client`
8989
object. For further info, consult the <<configuration>> section.
90-
91-
=== --no-dev flag
92-
93-
You'll notice that the installation command specified `--no-dev`. This prevents
94-
Composer from installing various testing and development dependencies. For
95-
average users, there is no need to install the test suite. In particular, the
96-
development dependencies include a full copy of {es} so that tests can be run
97-
against the REST specifications. This is a rather large download for
98-
non-developers, hence the --no-dev flag.
99-
100-
If you wish to contribute to the development of this library, just omit the
101-
`--no-dev` flag to be able to run tests.

0 commit comments

Comments
 (0)