Skip to content

Commit

Permalink
Merge pull request #1038 from LANGERGabriel/patch-1
Browse files Browse the repository at this point in the history
[DOCS] Removed false information about composer install --no-dev
  • Loading branch information
ezimuel authored Jun 8, 2020
2 parents cfea9d3 + 1ca0cbf commit daabf6d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions docs/installation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ use `dev-master` in your production code.
[source,shell]
--------------------------
curl -s http://getcomposer.org/installer | php
php composer.phar install --no-dev
php composer.phar install
--------------------------
+
More information about
Expand All @@ -87,15 +87,3 @@ Client instantiation is performed with a static helper function `create()`. This
creates a ClientBuilder object, which helps you to set custom configurations.
When you are done configuring, call the `build()` method to generate a `Client`
object. For further info, consult the <<configuration>> section.

=== --no-dev flag

You'll notice that the installation command specified `--no-dev`. This prevents
Composer from installing various testing and development dependencies. For
average users, there is no need to install the test suite. In particular, the
development dependencies include a full copy of {es} so that tests can be run
against the REST specifications. This is a rather large download for
non-developers, hence the --no-dev flag.

If you wish to contribute to the development of this library, just omit the
`--no-dev` flag to be able to run tests.

0 comments on commit daabf6d

Please sign in to comment.