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

Exception : Undefined variable: version #647

Closed
rev42 opened this issue May 1, 2012 · 1 comment
Closed

Exception : Undefined variable: version #647

rev42 opened this issue May 1, 2012 · 1 comment
Labels

Comments

@rev42
Copy link

rev42 commented May 1, 2012

I got an exception when trying to install dependencies using composer version efae2c8.

Here is what I did:

$ php composer.phar self-update
Updating to version efae2c8.
Downloading: 100%

$ php composer.phar install
[ErrorException]   Undefined variable: version         

However with older composer version, it worked :
$ php composer.phar --version
Composer version b356c30

$ php composer.phar install
Installing dependencies...
@Seldaek
Copy link
Member

Seldaek commented May 1, 2012

This is now fixed, please update to the latest phar.

digitalkaoz pushed a commit to digitalkaoz/composer that referenced this issue Nov 22, 2013
Fix for when the version is explicitely set in the composer.json file

Fixes composer#647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants