Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch dbu/router-cache-warmup-interface (PR #2451)
Commits ------- 96235a6 cs fix 46a69f1 define a WarmableInterface and only warm the cache if it implements warmable to allow replacing the core router. this fixes #2422. combining routers will only really work when #2450 is merged too. Discussion ---------- define a WarmableInterface and only warm the cache if it implements warmable define a WarmableInterface and only warm the cache if it implements warmable to allow replacing the core router. this fixes #2422. combining routers will only really work when #2450 is merged too. Bug fix: yes Feature addition: yes Backwards compatibility break: no Symfony2 tests pass: yes* Fixes the following tickets: #2422 (*) tests: success for phpunit src/Symfony/Bundle/FrameworkBundle/Tests/ and phpunit tests/Symfony/Tests/Component/Routing/ but when running all tests, i have to put gc_disable() into autoload to avoid segmentation fault and then get (after 3000 successful tests): PHP Fatal error: Call to undefined method Symfony\Tests\Component\HttpKernel\Debug\StopwatchTest::assertCount() in /home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony/tests/Symfony/Tests/Component/HttpKernel/Debug/StopwatchTest.php on line 84 --------------------------------------------------------------------------- by stof at 2011/10/22 08:46:31 -0700 @dbu assertCount is new in PHP 3.6. It seems like the test of the new 2.1 feature has been written using 3.6-RC. --------------------------------------------------------------------------- by dbu at 2011/10/22 09:40:07 -0700 @stof: ah, thanks for the hint. i hope you mean php 3.4 and not 3.6? but i assume symfony 2.1 should be able to run on 3.3, right? anyways, the tests run through if i disable the StopWatch, so i guess we can consider the tests succeeding. --------------------------------------------------------------------------- by stof at 2011/10/22 09:41:28 -0700 this is a method of PHPUnit TestCase class. I was talking about the PHPUnit version
- Loading branch information