PHPUnit 3.7.19 and Symfony2 broken tests
问题 I'm developing some test for a Symfony2.0 project and running them with PHPUnit. On my PC works fine but trying them in other environments the tests fails. I thought the problem was php version but after run them in differents environments I'm lost. My environment is Ubuntu 12.04 and PHP 5.3.10 => Works fine. 2 PC with Ubuntu 12.10 and PHP 5.4.6: Fatal error: Call to a member function get() on a non-object This error is on a class which extends Symfony\Bundle\FrameworkBundle\Test\WebTestCase