Working (fresh) composer installation
~/workspace/playground(frega-test) $ composer -V
Composer version ac497feabaa0d247c441178b7b4aaa4c61b07399 2014-06-10 14:13:12
Other globally installed composer packages
d11wtq/boris v1.0.8
drupal/coder 7.2.2 Coder is a library and a module to review Drupal code.
drush/drush dev-master f13c248 Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our w...
pear/console_table 1.1.5 Class that makes it easy to build console style tables.
squizlabs/php_codesniffer 1.5.2 PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
symfony/yaml v2.2.1 Symfony Yaml Component
Drush-dev pins symfony/yaml on v2.2.1 (https://github.com/drush-ops/drush/blob/master/composer.json#L30) and installing platform-cli thus runs into this (dependency) issue:
~/workspace/playground(frega-test) $ composer global require "commerceguys/platform-cli=1.0.*"
Changed current directory to /home/frega/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for commerceguys/platform-cli 1.0.* -> satisfiable by commerceguys/platform-cli[v1.0.0].
- Conclusion: remove symfony/yaml v2.2.1
- commerceguys/platform-cli v1.0.0 requires symfony/yaml ~2.4 -> satisfiable by symfony/yaml[v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.5.0].
- Can only install one of: symfony/yaml[v2.4.0, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.1, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.2, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.3, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.4, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.5, v2.2.1].
- Can only install one of: symfony/yaml[v2.4.6, v2.2.1].
- Can only install one of: symfony/yaml[v2.5.0, v2.2.1].
- Installation request for symfony/yaml == 2.2.1.0 -> satisfiable by symfony/yaml[v2.2.1].
Is there a simple work-around?