Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Removed false information about composer install --no-dev #1038

Merged
merged 1 commit into from
Jun 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.