This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

symfony2 - composer - phpunit problem

Discuss installing Symfony 2 here

symfony2 - composer - phpunit problem

by andym2009 » Thu Sep 18, 2014 3:31 pm

I have installed symfony2 using composer. The welcome page runs, the demo app runs and I can test the demo app using phpunit ok.

However, I cannot test symfony using phpunit; the directory structure seems to be messed up somehow.

The installation was as follows:

php composer.phar create-project symfony/framework-standard-edition path/ 2.1.2

It creates directories as follows:

app/
and vendor/symfony/symfony/

BUT

phpunit then tries to follow this path:

path/vendor/symfony/symfony/vendor/autoload.php

and there is no "vendor" directory structure under symphony.

Did I do something wrong?

Sorry if this is now a duplicate - I could not find my previous post
andym2009
Junior Member
 
Posts: 1
Joined: Thu Sep 18, 2014 9:37 am