Closed miiimooo closed 2 years ago
Removing the DrupalListener
helped as a workaround but I would still like to solve the underlying issue. Might be somewhere between Drupal and Symfony trying to catch these
I managed to get a similar issue with a project I'm working on, but disabling failOnWarn fixed the issue for me.
I'm going to close this issue unless you want to continue the conversation then I'm happy to open again.
On a side note, I'm really confused by the recent change in behavior from PHPUnit - throwing an exception instead of a warning changes the flow of my program significantly, so surely this is something that shouldn't be done by default? Anyway... I'm glad we both found a workaround.
I've tested this with different PHP (8.0, 7.4) versions but I keep getting
Error: Process completed with exit code 1.
I've disabled failOnWarn in my phpunit.xml