phpro / grumphp

A PHP code-quality tool
MIT License
4.15k stars 431 forks source link

The executable for "grumphp" could not be found. #266

Closed KevinAlberca closed 7 years ago

KevinAlberca commented 7 years ago
Q A
Branch master for features and deprecations
Bug? YES
New feature? -
Question? -
Documentation? -
Related tickets -

Hello,

I've got an error when I tried to install GrumPHP in my Symfony 3 project.

My configuration

Steps to reproduce:

# An copy/paste of 
composer create-project symfony/framework-standard-edition my_project_name "2.8.*"
cd my_project_name
composer require --dev phpro/grumphp

Result of composer

Using version ^0.11.1 for phpro/grumphp
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 29 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.1.2) Loading from cache
  - Installing symfony/yaml (v3.2.1) Loading from cache
  - Installing symfony/dependency-injection (v3.2.1) Loading from cache
  - Installing zendframework/zend-eventmanager (3.1.0) Loading from cache
  - Installing zendframework/zend-code (3.1.0) Loading from cache
  - Installing ocramius/proxy-manager (2.0.4) Loading from cache
  - Installing symfony/proxy-manager-bridge (v3.2.1) Loading from cache
  - Installing symfony/process (v3.2.1) Loading from cache
  - Installing symfony/options-resolver (v3.2.1) Loading from cache
  - Installing symfony/finder (v3.2.1) Loading from cache
  - Installing symfony/filesystem (v3.2.1) Loading from cache
  - Installing symfony/event-dispatcher (v3.2.1) Loading from cache
  - Installing psr/log (1.0.2) Loading from cache
  - Installing symfony/debug (v3.2.1) Loading from cache
  - Installing symfony/polyfill-mbstring (v1.3.0) Loading from cache
  - Installing symfony/console (v3.2.1) Loading from cache
  - Installing symfony/config (v3.2.1) Loading from cache
  - Installing seld/jsonlint (1.5.0) Loading from cache
  - Installing monolog/monolog (1.22.0) Loading from cache
  - Installing gitonomy/gitlib (v1.0.2) Loading from cache
  - Installing doctrine/collections (v1.3.0) Loading from cache
  - Installing seld/phar-utils (1.0.1) Loading from cache
  - Installing seld/cli-prompt (1.0.2) Loading from cache
  - Installing justinrainbow/json-schema (4.1.0) Loading from cache
  - Installing composer/spdx-licenses (1.1.5) Loading from cache
  - Installing composer/semver (1.4.2) Loading from cache
  - Installing composer/ca-bundle (1.0.6) Loading from cache
  - Installing composer/composer (1.3.1) Loading from cache
  - Installing phpro/grumphp (v0.11.1) Loading from cache
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
zendframework/zend-eventmanager suggests installing container-interop/container-interop (^1.1.0, to use the lazy listeners feature)
zendframework/zend-eventmanager suggests installing zendframework/zend-stdlib (^2.7.3 || ^3.0, to use the FilterChain feature)
zendframework/zend-code suggests installing doctrine/annotations (Doctrine\Common\Annotations >=1.0 for annotation features)
zendframework/zend-code suggests installing zendframework/zend-stdlib (Zend\Stdlib component)
ocramius/proxy-manager suggests installing ocramius/generated-hydrator (To have very fast object to array to object conversion for ghost objects)
ocramius/proxy-manager suggests installing zendframework/zend-xmlrpc (To have the XmlRpc adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-json (To have the JsonRpc adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-soap (To have the Soap adapter (Remote Object feature))
symfony/event-dispatcher suggests installing symfony/http-kernel ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
composer/composer suggests installing ext-zip (Enabling the zip extension allows you to unzip archives)
phpro/grumphp suggests installing atoum/atoum (Lets GrumPHP run your unit tests.)
phpro/grumphp suggests installing behat/behat (Lets GrumPHP validate your project features.)
phpro/grumphp suggests installing codeception/codeception (Lets GrumPHP run your project's full stack tests)
phpro/grumphp suggests installing codegyre/robo (Lets GrumPHP run your automated PHP tasks.)
phpro/grumphp suggests installing doctrine/orm (Lets GrumPHP validate your Doctrine mapping files.)
phpro/grumphp suggests installing friendsofphp/php-cs-fixer (Lets GrumPHP automatically fix your codestyle.)
phpro/grumphp suggests installing jakub-onderka/php-parallel-lint (Lets GrumPHP quickly lint your entire code base.)
phpro/grumphp suggests installing malukenho/kawaii-gherkin (Lets GrumPHP lint your Gherkin files.)
phpro/grumphp suggests installing nikic/php-parser (Lets GrumPHP run static analyses through your PHP files.)
phpro/grumphp suggests installing phing/phing (Lets GrumPHP run your automated PHP tasks.)
phpro/grumphp suggests installing phpmd/phpmd (Lets GrumPHP sort out the mess in your code)
phpro/grumphp suggests installing phpspec/phpspec (Lets GrumPHP spec your code.)
phpro/grumphp suggests installing phpunit/phpunit (Lets GrumPHP run your unit tests.)
phpro/grumphp suggests installing roave/security-advisories (Lets GrumPHP be sure that there are no known security issues.)
phpro/grumphp suggests installing sebastian/phpcpd (Lets GrumPHP find duplicated code.)
phpro/grumphp suggests installing sensiolabs/security-checker (Lets GrumPHP be sure that there are no known security issues.)
phpro/grumphp suggests installing squizlabs/php_codesniffer (Lets GrumPHP sniff on your code.)
phpro/grumphp suggests installing sstalle/php7cc (Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.)
Writing lock file
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class

Installation failed, deleting ./composer.json.

  [GrumPHP\Exception\RuntimeException]
  The executable for "grumphp" could not be found.

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

I work on a vagrant machine, running Debian Jessie (8), with PHP7 If someone had the same issue and solved it.

Thanks

veewee commented 7 years ago

Hello @KevinAlberca,

Thanks for reporting! I'll have to dive into this problem to find out what is going on. So first I'll need to recreate the error. Can you give me some additional information about your system and a log of composer install with the -vvv argument? Do you have some global composer plugins installed?

KevinAlberca commented 7 years ago

Hello @veewee ,

I've no composer plugin, and I never installed something in global Here is the composer install -vvv.

Clearing cache (cache-dir): /home/vagrant/.composer/cache
Clearing cache (cache-files-dir): /home/vagrant/.composer/cache/files
Clearing cache (cache-repo-dir): /home/vagrant/.composer/cache/repo
Cache directory does not exist (cache-vcs-dir):
All caches cleared.
vagrant@awh-lemp:~/S/Nearbio$ composer install -vvv
Reading ./composer.json
Loading config file ./composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/home/vagrant/S/Nearbio): git branch --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /home/vagrant/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /home/vagrant/S/Nearbio/vendor/composer/installed.json
Loading plugin PackageVersions\Installer
Running 1.3.0 (2016-12-24 00:47:03) with PHP 7.0.14-1~dotdeb+8.1 on Linux / 3.16.0-4-amd64
Reading ./composer.lock
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Reading ./composer.lock
Resolving dependencies through SAT
Dependency resolution completed in 0.000 seconds
Analyzed 108 packages to resolve dependencies
Analyzed 238 rules to resolve dependencies
Package operations: 44 installs, 0 updates, 0 removals
Installs: twig/twig:v2.1.0, symfony/polyfill-util:v1.3.0, paragonie/random_compat:v2.0.4, symfony/polyfill-php70:v1.3.0, symfony/polyfill-php56:v1.3.0, symfony/symfony:v3.1.9, symfony/polyfill-intl-icu:v1.3.0, psr/log:1.0.2, psr/cache:1.0.1, doctrine/inflector:v1.1.0, doctrine/collections:v1.3.0, doctrine/cache:v1.6.1, doctrine/common:v2.7.1, doctrine/doctrine-cache-bundle:1.3.0, doctrine/instantiator:1.0.5, doctrine/dbal:v2.5.6, doctrine/orm:v2.5.6, incenteev/composer-parameter-handler:v2.1.2, jdorn/sql-formatter:v1.2.17, sensiolabs/security-checker:v4.0.0, sensio/distribution-bundle:v5.0.18, sensio/framework-extra-bundle:v3.0.19, monolog/monolog:1.22.0, symfony/monolog-bundle:v2.12.1, swiftmailer/swiftmailer:v5.4.5, symfony/swiftmailer-bundle:v2.4.2, composer/ca-bundle:1.0.6, composer/semver:1.4.2, composer/spdx-licenses:1.1.5, doctrine/doctrine-bundle:1.6.6, doctrine/data-fixtures:v1.2.2, doctrine/doctrine-fixtures-bundle:dev-master fb060e2, justinrainbow/json-schema:4.1.0, seld/jsonlint:1.5.0, zendframework/zend-eventmanager:3.1.0, zendframework/zend-code:3.1.0, ocramius/proxy-manager:2.0.4, gitonomy/gitlib:v1.0.2, seld/phar-utils:1.0.1, seld/cli-prompt:1.0.2, composer/composer:1.3.1, phpro/grumphp:v0.11.1, sensio/generator-bundle:v3.1.2, symfony/phpunit-bridge:v2.8.16
  - Installing twig/twig (v2.1.0)Downloading https://api.github.com/repos/twigphp/Twig/zipball/9062992538bc5855a683c6737257bfa18d25a4b8
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/twig/twig/de6e33bed1851b6a447872fd0eb914821cb99e49.zip into cache from /home/vagrant/S/Nearbio/vendor/twig/twig/c019fa38a0ada6dae0802e32fed9fcca
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/twig/twig/c019fa38a0ada6dae0802e32fed9fcca' -d '/home/vagrant/S/Nearbio/vendor/composer/a12d2112' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/a12d2112'

    REASON: Required by the root package: Install command rule (install twig/twig v2.1.0)

  - Installing symfony/polyfill-util (v1.3.0)Downloading https://api.github.com/repos/symfony/polyfill-util/zipball/746bce0fca664ac0a575e465f65c6643faddf7fb
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/polyfill-util/98e78e58ecac70cdc7ad4035f7fe96ffe829b522.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/polyfill-util/c8a359e6eedbb317d3db575c6fe741ab
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/polyfill-util/c8a359e6eedbb317d3db575c6fe741ab' -d '/home/vagrant/S/Nearbio/vendor/composer/09c8ac4e' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/09c8ac4e'

    REASON: Required by the root package: Install command rule (install symfony/polyfill-util v1.3.0)

  - Installing paragonie/random_compat (v2.0.4)Downloading https://api.github.com/repos/paragonie/random_compat/zipball/a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/paragonie/random_compat/e4fd50380d722cc79155857f2fa0f4a203906975.zip into cache from /home/vagrant/S/Nearbio/vendor/paragonie/random_compat/5027d747555e80df04e5bcdc8e039df8
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/paragonie/random_compat/5027d747555e80df04e5bcdc8e039df8' -d '/home/vagrant/S/Nearbio/vendor/composer/937a9de6' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/937a9de6'

    REASON: Required by the root package: Install command rule (install paragonie/random_compat v2.0.4)

  - Installing symfony/polyfill-php70 (v1.3.0)Downloading https://api.github.com/repos/symfony/polyfill-php70/zipball/13ce343935f0f91ca89605a2f6ca6f5c2f3faac2
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/polyfill-php70/b4edc8e3351c6bd9941edf5c76a78c04283dcbe9.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/polyfill-php70/90b1e79e3b5e5e87819869e94522f4bd
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/polyfill-php70/90b1e79e3b5e5e87819869e94522f4bd' -d '/home/vagrant/S/Nearbio/vendor/composer/e6087896' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/e6087896'

    REASON: Required by the root package: Install command rule (install symfony/polyfill-php70 v1.3.0)

  - Installing symfony/polyfill-php56 (v1.3.0)Downloading https://api.github.com/repos/symfony/polyfill-php56/zipball/1dd42b9b89556f18092f3d1ada22cb05ac85383c
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/polyfill-php56/fdcf2b83b808011fa9160ae0975d5032e0bf2f13.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/polyfill-php56/f4e508706abaab267291b2bb505326a6
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/polyfill-php56/f4e508706abaab267291b2bb505326a6' -d '/home/vagrant/S/Nearbio/vendor/composer/ffac3957' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/ffac3957'

    REASON: Required by the root package: Install command rule (install symfony/polyfill-php56 v1.3.0)

  - Installing symfony/symfony (v3.1.9)Downloading https://api.github.com/repos/symfony/symfony/zipball/8d80e330acaad0780028ecb93fa8e902eb1e9abb
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/symfony/8991b2e147329d4fd0fb946bb9dc51cc279f4ab3.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/symfony/0a9b8276d504f17f8e92bc5f3c24414a
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/symfony/0a9b8276d504f17f8e92bc5f3c24414a' -d '/home/vagrant/S/Nearbio/vendor/composer/c0560113' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/c0560113'

    REASON: Required by the root package: Install command rule (install symfony/symfony v3.1.9)

  - Installing symfony/polyfill-intl-icu (v1.3.0)Downloading https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/2d6e2b20d457603eefb6e614286c22efca30fdb4
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/polyfill-intl-icu/9c8c7dcc7eb59b7d70c853b48ef02d7926f6a8fc.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/polyfill-intl-icu/bf08e467fd7a6af2623f8d2a422cffd9
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/polyfill-intl-icu/bf08e467fd7a6af2623f8d2a422cffd9' -d '/home/vagrant/S/Nearbio/vendor/composer/1d436e63' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/1d436e63'

    REASON: Required by the root package: Install command rule (install symfony/polyfill-intl-icu v1.3.0)

  - Installing psr/log (1.0.2)Downloading https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/psr/log/216fe71da49480fa51edd2c2fe0f7f93d5e2714a.zip into cache from /home/vagrant/S/Nearbio/vendor/psr/log/b4a292d03708b12d7f146ce4289c4bcc
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/psr/log/b4a292d03708b12d7f146ce4289c4bcc' -d '/home/vagrant/S/Nearbio/vendor/composer/339db3c5' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/339db3c5'

    REASON: Required by the root package: Install command rule (install psr/log 1.0.2)

  - Installing psr/cache (1.0.1)Downloading https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/psr/cache/db0acef2d2023a676945c844eded3b911c3089c2.zip into cache from /home/vagrant/S/Nearbio/vendor/psr/cache/c56a05eccb1f377842e632c53798db55
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/psr/cache/c56a05eccb1f377842e632c53798db55' -d '/home/vagrant/S/Nearbio/vendor/composer/eb2e98d7' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/eb2e98d7'

    REASON: Required by the root package: Install command rule (install psr/cache 1.0.1)

  - Installing doctrine/inflector (v1.1.0)Downloading https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/inflector/db32704481aa3a74907c33fcdb2123a8ea1cbb35.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/inflector/881a6ddc91f85f9ff6461e4359820720
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/inflector/881a6ddc91f85f9ff6461e4359820720' -d '/home/vagrant/S/Nearbio/vendor/composer/ac809465' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/ac809465'

    REASON: Required by the root package: Install command rule (install doctrine/inflector v1.1.0)

  - Installing doctrine/collections (v1.3.0)Downloading https://api.github.com/repos/doctrine/collections/zipball/6c1e4eef75f310ea1b3e30945e9f06e652128b8a
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/collections/3a2cf050b759ce9a081a7448c81749206de61ced.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/collections/38b8f41567b62bb34ff9807d147ebbff
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/collections/38b8f41567b62bb34ff9807d147ebbff' -d '/home/vagrant/S/Nearbio/vendor/composer/8149527d' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/8149527d'

    REASON: Required by the root package: Install command rule (install doctrine/collections v1.3.0)

  - Installing doctrine/cache (v1.6.1)Downloading https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3
 Downloading: 90%
    Download failed, retrying...
Downloading https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/cache/fdafe27e01e4d21f8a278e981f410c7db3bd84cc.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/cache/09a1ffbd5dda718fc663f8f142e61ede
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/cache/09a1ffbd5dda718fc663f8f142e61ede' -d '/home/vagrant/S/Nearbio/vendor/composer/75f214b0' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/75f214b0'

    REASON: Required by the root package: Install command rule (install doctrine/cache v1.6.1)

  - Installing doctrine/common (v2.7.1)Downloading https://api.github.com/repos/doctrine/common/zipball/5954c297e9d93ff84554906c2fbbc2a133c43941
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/common/3f8defcf4ad936c56fd668b25df13448169e88f1.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/common/19c4e2704d34e5645e77ede64aec370a
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/common/19c4e2704d34e5645e77ede64aec370a' -d '/home/vagrant/S/Nearbio/vendor/composer/d2b68bd6' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/d2b68bd6'

    REASON: Required by the root package: Install command rule (install doctrine/common v2.7.1)

  - Installing doctrine/doctrine-cache-bundle (1.3.0)Downloading https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/18c600a9b82f6454d2e81ca4957cdd56a1cf3504
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/doctrine-cache-bundle/e7890551a1879290b12121f01c08bf55425a62af.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/doctrine-cache-bundle/953d579aa881981ac804f6969ab4018f
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-cache-bundle/953d579aa881981ac804f6969ab4018f' -d '/home/vagrant/S/Nearbio/vendor/composer/d24a1c9b' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/d24a1c9b'

    REASON: Required by the root package: Install command rule (install doctrine/doctrine-cache-bundle 1.3.0)

  - Installing doctrine/instantiator (1.0.5)Downloading https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/instantiator/5a9f1d3bceb2a0d9cec46038ba4d17116a431241.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/instantiator/53b31189c9b876478da474012ae01ce8
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/instantiator/53b31189c9b876478da474012ae01ce8' -d '/home/vagrant/S/Nearbio/vendor/composer/f404ba74' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/f404ba74'

    REASON: Required by the root package: Install command rule (install doctrine/instantiator 1.0.5)

  - Installing doctrine/dbal (v2.5.6)Downloading https://api.github.com/repos/doctrine/dbal/zipball/a526d0df58daa8ab6802244bf3227f532e0deb45
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/dbal/8242d36770ad4cffd7d5071b8fed69b8e1e690bb.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/dbal/5608d63f1be1c17842bbbf73d8803d31
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/dbal/5608d63f1be1c17842bbbf73d8803d31' -d '/home/vagrant/S/Nearbio/vendor/composer/085693bc' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/085693bc'

    REASON: Required by the root package: Install command rule (install doctrine/dbal v2.5.6)

  - Installing doctrine/orm (v2.5.6)Downloading https://api.github.com/repos/doctrine/doctrine2/zipball/e6c434196c8ef058239aaa0724b4aadb0107940b
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/orm/8586a6dbc98b755d599cda496445ba72b1eb5ed2.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/orm/d1e4f545716b79a757cc8c45afb97f91
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/orm/d1e4f545716b79a757cc8c45afb97f91' -d '/home/vagrant/S/Nearbio/vendor/composer/8ef3a4d0' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/8ef3a4d0'

    REASON: Required by the root package: Install command rule (install doctrine/orm v2.5.6)

  - Installing incenteev/composer-parameter-handler (v2.1.2)Downloading https://api.github.com/repos/Incenteev/ParameterHandler/zipball/d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/incenteev/composer-parameter-handler/7748e0a1b0c7e3a1a51faa4cacc4d83c89ef66fe.zip into cache from /home/vagrant/S/Nearbio/vendor/incenteev/composer-parameter-handler/8c2503be898d0d0a4f8fa845af50429c
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/incenteev/composer-parameter-handler/8c2503be898d0d0a4f8fa845af50429c' -d '/home/vagrant/S/Nearbio/vendor/composer/4a835f1e' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/4a835f1e'

    REASON: Required by the root package: Install command rule (install incenteev/composer-parameter-handler v2.1.2)

  - Installing jdorn/sql-formatter (v1.2.17)Downloading https://api.github.com/repos/jdorn/sql-formatter/zipball/64990d96e0959dff8e059dfcdc1af130728d92bc
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/jdorn/sql-formatter/c58d407cfd5a9f38b19854087d4ff221aad35113.zip into cache from /home/vagrant/S/Nearbio/vendor/jdorn/sql-formatter/664bbe2e7f1ed9361a65ff41500044ee
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/jdorn/sql-formatter/664bbe2e7f1ed9361a65ff41500044ee' -d '/home/vagrant/S/Nearbio/vendor/composer/7dac66e3' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/7dac66e3'

    REASON: Required by the root package: Install command rule (install jdorn/sql-formatter v1.2.17)

  - Installing sensiolabs/security-checker (v4.0.0)Downloading https://api.github.com/repos/sensiolabs/security-checker/zipball/116027b57b568ed61b7b1c80eeb4f6ee9e8c599c
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/sensiolabs/security-checker/1eb5abcec5f1b459f5be3a6d92a9d6475f9cdfe4.zip into cache from /home/vagrant/S/Nearbio/vendor/sensiolabs/security-checker/6b4d61585d92174cf6b828dade28a154
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/sensiolabs/security-checker/6b4d61585d92174cf6b828dade28a154' -d '/home/vagrant/S/Nearbio/vendor/composer/45dd15ad' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/45dd15ad'

    REASON: Required by the root package: Install command rule (install sensiolabs/security-checker v4.0.0)

  - Installing sensio/distribution-bundle (v5.0.18)Downloading https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/17846680901003d26d823c2e3ac9228702837916
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/sensio/distribution-bundle/198a889a76448b728ffeea6bef6f60daa95aef04.zip into cache from /home/vagrant/S/Nearbio/vendor/sensio/distribution-bundle/5a6564bf91500f749a85244f92f249f8
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/sensio/distribution-bundle/5a6564bf91500f749a85244f92f249f8' -d '/home/vagrant/S/Nearbio/vendor/composer/340378b7' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/340378b7'

    REASON: Required by the root package: Install command rule (install sensio/distribution-bundle v5.0.18)

  - Installing sensio/framework-extra-bundle (v3.0.19)Downloading https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/d57c2f297d17ee82baf8cae0b16dae34a9378784
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/sensio/framework-extra-bundle/a70134d289b44c9098887a22fafab944cc91384e.zip into cache from /home/vagrant/S/Nearbio/vendor/sensio/framework-extra-bundle/443da91c2b2278b4142831d7c283569e
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/sensio/framework-extra-bundle/443da91c2b2278b4142831d7c283569e' -d '/home/vagrant/S/Nearbio/vendor/composer/f59d9250' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/f59d9250'

    REASON: Required by the root package: Install command rule (install sensio/framework-extra-bundle v3.0.19)

  - Installing monolog/monolog (1.22.0)Downloading https://api.github.com/repos/Seldaek/monolog/zipball/bad29cb8d18ab0315e6c477751418a82c850d558
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/monolog/monolog/89c268dc0e3abb068c613a62b566184a9ada9ce7.zip into cache from /home/vagrant/S/Nearbio/vendor/monolog/monolog/09b1ac870dace8fb67f79edc3ef0ccd5
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/monolog/monolog/09b1ac870dace8fb67f79edc3ef0ccd5' -d '/home/vagrant/S/Nearbio/vendor/composer/400d6733' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/400d6733'

    REASON: Required by the root package: Install command rule (install monolog/monolog 1.22.0)

  - Installing symfony/monolog-bundle (v2.12.1)Downloading https://api.github.com/repos/symfony/monolog-bundle/zipball/b0146bdca7ba2a65f3bbe7010423c7393b29ec3f
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/monolog-bundle/ba69b27fef7cd012e8ca53dbf71c03a53a107d85.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/monolog-bundle/1ee318d239138753b6e8aa8f328696e5
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/monolog-bundle/1ee318d239138753b6e8aa8f328696e5' -d '/home/vagrant/S/Nearbio/vendor/composer/9dfca7a4' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/9dfca7a4'

    REASON: Required by the root package: Install command rule (install symfony/monolog-bundle v2.12.1)

  - Installing swiftmailer/swiftmailer (v5.4.5)Downloading https://api.github.com/repos/swiftmailer/swiftmailer/zipball/cd142238a339459b10da3d8234220963f392540c
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/swiftmailer/swiftmailer/7cc6c3df4d779219bc90fe35ea05d8a836a3014c.zip into cache from /home/vagrant/S/Nearbio/vendor/swiftmailer/swiftmailer/992095be5edc29b25db5ff0463bfc6b6
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/swiftmailer/swiftmailer/992095be5edc29b25db5ff0463bfc6b6' -d '/home/vagrant/S/Nearbio/vendor/composer/d989722d' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/d989722d'

    REASON: Required by the root package: Install command rule (install swiftmailer/swiftmailer v5.4.5)

  - Installing symfony/swiftmailer-bundle (v2.4.2)Downloading https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/ad751095576ce0c12a284e30e3fff80c91f27225
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/swiftmailer-bundle/eed9cefd9dccaf9e2407c55d0f15ad1507da4754.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/swiftmailer-bundle/e08cbed9c6aadb02ecb5f30792e2634c
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/swiftmailer-bundle/e08cbed9c6aadb02ecb5f30792e2634c' -d '/home/vagrant/S/Nearbio/vendor/composer/6eb24b1d' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/6eb24b1d'

    REASON: Required by the root package: Install command rule (install symfony/swiftmailer-bundle v2.4.2)

  - Installing composer/ca-bundle (1.0.6)Downloading https://api.github.com/repos/composer/ca-bundle/zipball/a795611394b3c05164fd0eb291b492b39339cba4
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/composer/ca-bundle/c00edf05c23bac6a0d1c79d192321bbea0d26bf9.zip into cache from /home/vagrant/S/Nearbio/vendor/composer/ca-bundle/ca3630d3d5a95bd119c343eb29f3cb21
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/composer/ca-bundle/ca3630d3d5a95bd119c343eb29f3cb21' -d '/home/vagrant/S/Nearbio/vendor/composer/a499c9be' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/a499c9be'

    REASON: Required by the root package: Install command rule (install composer/ca-bundle 1.0.6)

  - Installing composer/semver (1.4.2)Downloading https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/composer/semver/5d487551fbabb57043e277a23ce029d2980866aa.zip into cache from /home/vagrant/S/Nearbio/vendor/composer/semver/7565c5adca961f43f9bc414fc1357e30
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/composer/semver/7565c5adca961f43f9bc414fc1357e30' -d '/home/vagrant/S/Nearbio/vendor/composer/6050b620' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/6050b620'

    REASON: Required by the root package: Install command rule (install composer/semver 1.4.2)

  - Installing composer/spdx-licenses (1.1.5)Downloading https://api.github.com/repos/composer/spdx-licenses/zipball/96c6a07b05b716e89a44529d060bc7f5c263cb13
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/composer/spdx-licenses/378dc0258a5acaf4a9eb2ca52acc9432159804a5.zip into cache from /home/vagrant/S/Nearbio/vendor/composer/spdx-licenses/dc5ffbc412a069090e5705d730744118
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/composer/spdx-licenses/dc5ffbc412a069090e5705d730744118' -d '/home/vagrant/S/Nearbio/vendor/composer/8f40f856' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/8f40f856'

    REASON: Required by the root package: Install command rule (install composer/spdx-licenses 1.1.5)

  - Installing doctrine/doctrine-bundle (1.6.6)Downloading https://api.github.com/repos/doctrine/DoctrineBundle/zipball/0f0c4df366bd1d36d38a27e2f5ff128e118ac969
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/doctrine-bundle/f775eb27c1d95b4a9e896b1d565ef854c13286b5.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/doctrine-bundle/3a1158496f0bda6fe20848f18e4f8daf
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-bundle/3a1158496f0bda6fe20848f18e4f8daf' -d '/home/vagrant/S/Nearbio/vendor/composer/ea2bb9c9' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/ea2bb9c9'

    REASON: Required by the root package: Install command rule (install doctrine/doctrine-bundle 1.6.6)

  - Installing doctrine/data-fixtures (v1.2.2)Downloading https://api.github.com/repos/doctrine/data-fixtures/zipball/17fa5bfe6ff52e35cb3d9ec37c934a2f4bd1fa2e
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/doctrine/data-fixtures/ee8912ec4d57788b7cf22698cb1e781c6300f0c4.zip into cache from /home/vagrant/S/Nearbio/vendor/doctrine/data-fixtures/1db6aad7cec27ab725f4dc280982f8eb
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/doctrine/data-fixtures/1db6aad7cec27ab725f4dc280982f8eb' -d '/home/vagrant/S/Nearbio/vendor/composer/d37ef0bf' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/d37ef0bf'

    REASON: Required by the root package: Install command rule (install doctrine/data-fixtures v1.2.2)

  - Installing doctrine/doctrine-fixtures-bundle (dev-master fb060e2)Executing command (CWD): git --version
 Cloning fb060e289a2996e21869c261a983c0f8450132f6
Executing command (CWD): git clone --no-checkout 'https://github.com/doctrine/DoctrineFixturesBundle.git' '/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle' && cd '/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle' && git remote add composer 'https://github.com/doctrine/DoctrineFixturesBundle.git' && git fetch composer
Executing command (/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle): git remote set-url --push origin 'git@github.com:doctrine/DoctrineFixturesBundle.git'
Executing command (/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle): git branch -r
Executing command (/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle): git checkout 'master' --
Executing command (/home/vagrant/S/Nearbio/vendor/doctrine/doctrine-fixtures-bundle): git reset --hard 'fb060e289a2996e21869c261a983c0f8450132f6' --
    REASON: Required by the root package: Install command rule (install doctrine/doctrine-fixtures-bundle dev-master)

  - Marking doctrine/doctrine-fixtures-bundle (2.2.x-dev fb060e2) as installed, alias of doctrine/doctrine-fixtures-bundle (dev-master fb060e2)
  - Installing justinrainbow/json-schema (4.1.0)Downloading https://api.github.com/repos/justinrainbow/json-schema/zipball/d39c56a46b3ebe1f3696479966cd2b9f50aaa24f
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/justinrainbow/json-schema/35b2ab1b4468a8dd585c1a522591c476af5d3d87.zip into cache from /home/vagrant/S/Nearbio/vendor/justinrainbow/json-schema/7cd8cc508e1df9e1375a6fd7975bfe6b
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/justinrainbow/json-schema/7cd8cc508e1df9e1375a6fd7975bfe6b' -d '/home/vagrant/S/Nearbio/vendor/composer/03764d74' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/03764d74'

    REASON: Required by the root package: Install command rule (install justinrainbow/json-schema 4.1.0)

  - Installing seld/jsonlint (1.5.0)Downloading https://api.github.com/repos/Seldaek/jsonlint/zipball/19495c181d6d53a0a13414154e52817e3b504189
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/seld/jsonlint/cbaecfb8617e6221864c7403ec557803992321f6.zip into cache from /home/vagrant/S/Nearbio/vendor/seld/jsonlint/1a76919b282123136dcb1ebf76be77c0
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/seld/jsonlint/1a76919b282123136dcb1ebf76be77c0' -d '/home/vagrant/S/Nearbio/vendor/composer/98d1e3b3' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/98d1e3b3'

    REASON: Required by the root package: Install command rule (install seld/jsonlint 1.5.0)

  - Installing zendframework/zend-eventmanager (3.1.0)Downloading https://api.github.com/repos/zendframework/zend-eventmanager/zipball/c3bce7b7d47c54040b9ae51bc55491c72513b75d
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/zendframework/zend-eventmanager/2c66be54a79aaaec0648d7306ed23cf788d4923c.zip into cache from /home/vagrant/S/Nearbio/vendor/zendframework/zend-eventmanager/42c4a33c674a9cb2e24e3d9573d955b4
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/zendframework/zend-eventmanager/42c4a33c674a9cb2e24e3d9573d955b4' -d '/home/vagrant/S/Nearbio/vendor/composer/eff478e2' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/eff478e2'

    REASON: Required by the root package: Install command rule (install zendframework/zend-eventmanager 3.1.0)

  - Installing zendframework/zend-code (3.1.0)Downloading https://api.github.com/repos/zendframework/zend-code/zipball/2899c17f83a7207f2d7f53ec2f421204d3beea27
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/zendframework/zend-code/950dc54da5d1564c6fc4330da400aca9a45cc022.zip into cache from /home/vagrant/S/Nearbio/vendor/zendframework/zend-code/b95301f93af2d047e6923a7534f05497
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/zendframework/zend-code/b95301f93af2d047e6923a7534f05497' -d '/home/vagrant/S/Nearbio/vendor/composer/d9819aab' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/d9819aab'

    REASON: Required by the root package: Install command rule (install zendframework/zend-code 3.1.0)

  - Installing ocramius/proxy-manager (2.0.4)Downloading https://api.github.com/repos/Ocramius/ProxyManager/zipball/a55d08229f4f614bf335759ed0cf63378feeb2e6
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/ocramius/proxy-manager/43ab272ebb2abcb122b54a34ea324b6d82376ab2.zip into cache from /home/vagrant/S/Nearbio/vendor/ocramius/proxy-manager/0f3e543f3956aaff6955b555f6edcb42
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/ocramius/proxy-manager/0f3e543f3956aaff6955b555f6edcb42' -d '/home/vagrant/S/Nearbio/vendor/composer/75c92bb9' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/75c92bb9'

    REASON: Required by the root package: Install command rule (install ocramius/proxy-manager 2.0.4)

  - Installing gitonomy/gitlib (v1.0.2)Downloading https://api.github.com/repos/gitonomy/gitlib/zipball/b4b916423a2e2da631cf3b3787beb9386a7b253c
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/gitonomy/gitlib/f263a07a2be1a5ad59cde78b1f074d5c01fb6d59.zip into cache from /home/vagrant/S/Nearbio/vendor/gitonomy/gitlib/8ab67224313067ea1ecb29b1ef1adf7b
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/gitonomy/gitlib/8ab67224313067ea1ecb29b1ef1adf7b' -d '/home/vagrant/S/Nearbio/vendor/composer/2c242c41' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/2c242c41'

    REASON: Required by the root package: Install command rule (install gitonomy/gitlib v1.0.2)

  - Installing seld/phar-utils (1.0.1)Downloading https://api.github.com/repos/Seldaek/phar-utils/zipball/7009b5139491975ef6486545a39f3e6dad5ac30a
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/seld/phar-utils/0930b263364ee9a78cd628fb1e223e413e613674.zip into cache from /home/vagrant/S/Nearbio/vendor/seld/phar-utils/c69cacc608e0a571dbfb31594915a843
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/seld/phar-utils/c69cacc608e0a571dbfb31594915a843' -d '/home/vagrant/S/Nearbio/vendor/composer/1ef7964f' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/1ef7964f'

    REASON: Required by the root package: Install command rule (install seld/phar-utils 1.0.1)

  - Installing seld/cli-prompt (1.0.2)Downloading https://api.github.com/repos/Seldaek/cli-prompt/zipball/8cbe10923cae5bcd7c5a713f6703fc4727c8c1b4
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/seld/cli-prompt/67877b592d69d9f333261a00aac49bb039adb8bc.zip into cache from /home/vagrant/S/Nearbio/vendor/seld/cli-prompt/7e940233e667a0a47a0f3cc9b9ebe339
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/seld/cli-prompt/7e940233e667a0a47a0f3cc9b9ebe339' -d '/home/vagrant/S/Nearbio/vendor/composer/c9465d0c' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/c9465d0c'

    REASON: Required by the root package: Install command rule (install seld/cli-prompt 1.0.2)

  - Installing composer/composer (1.3.1)Downloading https://api.github.com/repos/composer/composer/zipball/91dbca556764dcece45e1ba3aab14de2deaa9fec
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/composer/composer/336c193b074903360b499c7b5936708eb6df1851.zip into cache from /home/vagrant/S/Nearbio/vendor/composer/composer/502e2d316668832f486633be49c60b15
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/composer/composer/502e2d316668832f486633be49c60b15' -d '/home/vagrant/S/Nearbio/vendor/composer/9e16a608' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/9e16a608'

    REASON: Required by the root package: Install command rule (install composer/composer 1.3.1)

  - Installing phpro/grumphp (v0.11.1)Downloading https://api.github.com/repos/phpro/grumphp/zipball/90b71cac989381341582a51d7e2657293fab7899
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/phpro/grumphp/ea217cbb867c876ad543d2c63847f4adf7c45816.zip into cache from /home/vagrant/S/Nearbio/vendor/phpro/grumphp/fc0c444cee45ac2a1cdf89dc0557d730
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/phpro/grumphp/fc0c444cee45ac2a1cdf89dc0557d730' -d '/home/vagrant/S/Nearbio/vendor/composer/3a776e17' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/3a776e17'

Loading plugin GrumPHP\Composer\GrumPHPPlugin
    REASON: Required by the root package: Install command rule (install phpro/grumphp v0.11.1)

  - Installing sensio/generator-bundle (v3.1.2)Downloading https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/ec278c0bd530edf155c4a00900577b5cb80f559e
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/sensio/generator-bundle/6d1b8ea5970dcc5976c1c3e57571b3693b3b6c4e.zip into cache from /home/vagrant/S/Nearbio/vendor/sensio/generator-bundle/2cd0002b38a4a6814811d2d2770b3b36
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/sensio/generator-bundle/2cd0002b38a4a6814811d2d2770b3b36' -d '/home/vagrant/S/Nearbio/vendor/composer/1a27fade' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/1a27fade'

    REASON: Required by the root package: Install command rule (install sensio/generator-bundle v3.1.2)

  - Installing symfony/phpunit-bridge (v2.8.16)Downloading https://api.github.com/repos/symfony/phpunit-bridge/zipball/1e76e80da601c6969336309678a0af4018abcae7
 Downloading: 100%Writing /home/vagrant/.composer/cache/files/symfony/phpunit-bridge/e33d85d549bd92933a09de41b596c6281f0fee3a.zip into cache from /home/vagrant/S/Nearbio/vendor/symfony/phpunit-bridge/fc23554ffe0cb130990ab006331a1c0b
 Extracting archiveExecuting command (CWD): unzip -qq '/home/vagrant/S/Nearbio/vendor/symfony/phpunit-bridge/fc23554ffe0cb130990ab006331a1c0b' -d '/home/vagrant/S/Nearbio/vendor/composer/7f92e0de' && chmod -R u+w '/home/vagrant/S/Nearbio/vendor/composer/7f92e0de'

    REASON: Required by the root package: Install command rule (install symfony/phpunit-bridge v2.8.16)

paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/polyfill-intl-icu suggests installing ext-intl (For best performance)
doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (For using this bundle to cache ACLs)
sensio/framework-extra-bundle suggests installing symfony/psr-http-message-bridge (To use the PSR-7 converters)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
doctrine/data-fixtures suggests installing doctrine/mongodb-odm (For loading MongoDB ODM fixtures)
doctrine/data-fixtures suggests installing doctrine/phpcr-odm (For loading PHPCR ODM fixtures)
zendframework/zend-eventmanager suggests installing container-interop/container-interop (^1.1.0, to use the lazy listeners feature)
zendframework/zend-eventmanager suggests installing zendframework/zend-stdlib (^2.7.3 || ^3.0, to use the FilterChain feature)
zendframework/zend-code suggests installing zendframework/zend-stdlib (Zend\Stdlib component)
ocramius/proxy-manager suggests installing ocramius/generated-hydrator (To have very fast object to array to object conversion for ghost objects)
ocramius/proxy-manager suggests installing zendframework/zend-json (To have the JsonRpc adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-soap (To have the Soap adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-xmlrpc (To have the XmlRpc adapter (Remote Object feature))
composer/composer suggests installing ext-zip (Enabling the zip extension allows you to unzip archives)
phpro/grumphp suggests installing atoum/atoum (Lets GrumPHP run your unit tests.)
phpro/grumphp suggests installing behat/behat (Lets GrumPHP validate your project features.)
phpro/grumphp suggests installing codeception/codeception (Lets GrumPHP run your project's full stack tests)
phpro/grumphp suggests installing codegyre/robo (Lets GrumPHP run your automated PHP tasks.)
phpro/grumphp suggests installing friendsofphp/php-cs-fixer (Lets GrumPHP automatically fix your codestyle.)
phpro/grumphp suggests installing jakub-onderka/php-parallel-lint (Lets GrumPHP quickly lint your entire code base.)
phpro/grumphp suggests installing malukenho/kawaii-gherkin (Lets GrumPHP lint your Gherkin files.)
phpro/grumphp suggests installing nikic/php-parser (Lets GrumPHP run static analyses through your PHP files.)
phpro/grumphp suggests installing phing/phing (Lets GrumPHP run your automated PHP tasks.)
phpro/grumphp suggests installing phpmd/phpmd (Lets GrumPHP sort out the mess in your code)
phpro/grumphp suggests installing phpspec/phpspec (Lets GrumPHP spec your code.)
phpro/grumphp suggests installing phpunit/phpunit (Lets GrumPHP run your unit tests.)
phpro/grumphp suggests installing roave/security-advisories (Lets GrumPHP be sure that there are no known security issues.)
phpro/grumphp suggests installing sebastian/phpcpd (Lets GrumPHP find duplicated code.)
phpro/grumphp suggests installing squizlabs/php_codesniffer (Lets GrumPHP sniff on your code.)
phpro/grumphp suggests installing sstalle/php7cc (Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.)
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class

  [GrumPHP\Exception\RuntimeException]
  The executable for "grumphp" could not be found.

Exception trace:
 () at /home/vagrant/S/Nearbio/vendor/phpro/grumphp/src/GrumPHP/Locator/ExternalCommand.php:50
 GrumPHP\Locator\ExternalCommand->locate() at /home/vagrant/S/Nearbio/vendor/phpro/grumphp/src/GrumPHP/Composer/GrumPHPPlugin.php:185
 GrumPHP\Composer\GrumPHPPlugin->runGrumPhpCommand() at /home/vagrant/S/Nearbio/vendor/phpro/grumphp/src/GrumPHP/Composer/GrumPHPPlugin.php:143
 GrumPHP\Composer\GrumPHPPlugin->runScheduledTasks() at n/a:n/a
 call_user_func() at phar:///home/vagrant/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:171
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///home/vagrant/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:96
 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///home/vagrant/composer.phar/src/Composer/Installer.php:307
 Composer\Installer->run() at phar:///home/vagrant/composer.phar/src/Composer/Command/InstallCommand.php:119
 Composer\Command\InstallCommand->execute() at phar:///home/vagrant/composer.phar/vendor/symfony/console/Command/Command.php:257
 Symfony\Component\Console\Command\Command->run() at phar:///home/vagrant/composer.phar/vendor/symfony/console/Application.php:849
 Symfony\Component\Console\Application->doRunCommand() at phar:///home/vagrant/composer.phar/vendor/symfony/console/Application.php:193
 Symfony\Component\Console\Application->doRun() at phar:///home/vagrant/composer.phar/src/Composer/Console/Application.php:227
 Composer\Console\Application->doRun() at phar:///home/vagrant/composer.phar/vendor/symfony/console/Application.php:124
 Symfony\Component\Console\Application->run() at phar:///home/vagrant/composer.phar/src/Composer/Console/Application.php:100
 Composer\Console\Application->run() at phar:///home/vagrant/composer.phar/bin/composer:52
 require() at /home/vagrant/composer.phar:24

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

Thanks for your help

KevinAlberca commented 7 years ago

To make it running, I've to install it in global

veewee commented 7 years ago

That does not look like the correct solution. I've tried the commands above in a Debian vagrant box with PHP7 and don't get the error. Also on my computer it seems to work so I guess it has something to do with the vagrant box.

Can you share the Vagrantfile or is it a private box?

Note that you say you want to install Symfony 3 but gave the commands for Symfony 2.8. I've tried both.

KevinAlberca commented 7 years ago

I tried with this Symfony installation :

Here is my Vagrantfile : https://github.com/KevinAlberca/MyVagrant/blob/master/LEMP-PHP7/Vagrantfile

I've once plugin installed, it's vagrant-vbguest

veewee commented 7 years ago

I ran the commands on the provided vagrant box and it works fine. On my machine, I skipped the synced folders and ran the scripts in the vagrant home folder. Since your Vagrantfile syncs to your local machine which syncs to dropbox, this might cause a strange race condition. Can you try to run the scripts in the /tmp folder of your vagrant box and check if that works for you?

KevinAlberca commented 7 years ago

In my /tmp folder, it's work, without issue

veewee commented 7 years ago

OK. That means it has something to do with the shared folders / dropbox sync. This issue is vagrant specific. There isn't anything we can change about that in this project. One possible solution is activating NFS shares in your Vagrantfile or "pause" the dropbox plugin?

You might be interested in running Grumphp with the vagrant preset on your host system? See https://github.com/phpro/grumphp/blob/master/doc/parameters.md > hooks_preset for more information about the topic.

veewee commented 7 years ago

Since this is a Vagrant issue, I'll close this one for now.

oojacoboo commented 7 years ago

Same issue on localhost here

oojacoboo commented 7 years ago

the bin script makes some pretty opinionated assumptions about the location of the autoload.php file. Although, that doesn't seem to be the issue. It's probably related to paths inside the script. I've stopped digging and will just add the githook manually.

veewee commented 7 years ago

It does make opinionated assumptions about the autoload location. I haven't found a better way to do this and still support both local and global installation. Feel free to propose something in a PR.

oojacoboo commented 7 years ago

Actually, it seems the autoload wasn't the issue, but assuming paths inside the run() function. I'm just including the git hooks in our shared repo dependency and copying them into position now. This works and actually provides us another benefit in being able to maintain unified git hooks across projects.

Thanks.

arsonik commented 5 years ago

Same problem here ! Due to a bug in symfony/process https://github.com/symfony/symfony/pull/31012/files