You must use the latest stable version of PHPUnit.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 12/14/10 11:00 AM, Alessandro Nadalin wrote:
Hi Fabien,

2010/12/14 Fabien Potencier<fabien.potenc...@symfony-project.com>:
Which version of PHPUnit do you use?

phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.

Following some hints of the italian symfony ML I've tried to use the
vPR4 tag ( instead of the master ) on the Git repo, but the,
frustrating :), error that I get ( after a few tests run properly )
is:

PHP Fatal error:  Cannot redeclare class FooClass in
/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4


--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 12/13/10 12:43 PM, odino wrote:

Hi guys,

I was trying to fix a bug on Sf2 tracker. To do that I needed to build
the environment:
* forked the symfony/symfony repo
* cloned on my local machine
* installed required PEAR packages
* installed ( eventually updated ) the vendors

but when i run phpunit I get a fatal error:
Call to undefined method
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
AnnotationDirectoryLoaderTest.php on line 27

ideas?


--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en





--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to