2010/12/14 Fabien Potencier <fabien.potenc...@symfony-project.com>:
> On 12/14/10 1:21 PM, Alessandro Nadalin wrote:
>>
>> Hi Fabien,
>>
>> 2010/12/14 Fabien Potencier<fabien.potenc...@symfony-project.com>:
>>>
>>> You must use the latest stable version of PHPUnit.
>>
>> Sorry, terrible mistake of mine.
>>
>> But after upgrading to 3.5.5 I get, as previously:
>>
>> PHP Fatal error:  Cannot redeclare class FooClass in
>>
>> /var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
>> on line 4
>
> That's weird as it definitely works for me. Have you a special phpunit.xml,
> or do you use the one that comes with Symfony2?

Definitely weird, I use the XML bundled with Sf2.

If i use phpunit --configuration phpunit.xml(.dist) I get the same problem.

The system is:
* ubuntu linux 10.04
* php 5.3.2
* phpunit 3.5.5 ( installed via PEAR )
* Symfony2 vPR4 tag ( from github )

Vendors are installed and upgraded via install* and update* _vendors.sh.

>
> Fabien
>
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>
> --
> 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
>



-- 
Nadalin Alessandro
www.odino.org
www.twitter.com/_odino_

-- 
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