lchrusciel / ApiTestCase

Handy PHPUnit test case for testing JSON APIs in your Symfony applications.
MIT License
410 stars 35 forks source link

Move MatcherFactory instantiation to @before #177

Closed amenophis closed 1 year ago

amenophis commented 3 years ago
Q A
Bug fix? no
New feature? no
BC breaks? no
License MIT

PHPUnit deprecates the TestCase::__construct override possibility, so i move the MatcherFactory instantiation to a @before tagged method.

@lchrusciel ok for you ?

lchrusciel commented 1 year ago

Hey Jérémy!

Sorry for not including your PR, but I've just made the same change to fix BC-Break recently introduced. I've have forgotten about your PR tho. I'm very sorry for that.