2012-10-30 24 views
0

我試圖將我的Symfony2應用程序從2.0.16升級到2.0.18。我遇到了一個看起來像是FOSRestBundle問題的東西,所以我升級了FOSRestBundle(到他們在主分支上的最新提交),但是這似乎會導致不同的問題。在我們詳述所有這些和故障排除之前,有人可以告訴我哪個版本的FOSRestBundle可以合理地期望與Symfony 2.0.18一起使用嗎?什麼是與Symfony 2.0.18一起使用的FOSRestBundle的正確版本?

回答

0

latest master version of FOSRestBundle似乎與Symfony 2.0.18一起正常工作。

我通過從我的deps.lock文件中刪除它來取消固定FOSRestBundle,並且一切正常。

這是我升級FOSRestBundle之前跑進了錯誤:

PHP Strict standards: Declaration of FOS\RestBundle\Routing\Loader\RestXmlCollectionLoader::getXmlErrors() should be compatible with that of Symfony\Component\Routing\Loader\XmlFileLoader::getXmlErrors() in /home/adamm/git/bv-bundles/SingleServerApplication/vendor/bundles/FOS/RestBundle/Routing/Loader/RestXmlCollectionLoader.php on line 137 

使用FOSRestBundle版本d9a876803df61858ce3e8d3f0c934727638ad874。

相關問題