Ideally this should be named better like `composer_version_option`. Default option can be set in fetch like:

```ruby
composer_version_option = fetch(:composer_version, nil) || "-- --version=#{composer_version}"
execute :curl, "-s", fetch(:composer_download_url), "|", :php, composer_version_option.to_s
```