Symfony2 seems to encapsulate all notice/warning into ErrorExceptions. Which is a nice behavior during development but this cause some problem with unit testing.
I launch unit tests with Jenkins, and some classes throw notices. Theses notices are transformed into exception... Which crash the unit test.
I already try with phpunit specific argument but it doesn't change ( convertWarningsToExceptions = false
, etc. ).
So, how can I change this default behavior ?