This PR brings a bit of refactoring in the Application and Command classes as well as improving CommandTest and use symfony CommandTester instead of mocking and using Reflection.
An additional: we got rid of message: The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
RunCommandTest is a functional test instead of Unit.
This PR brings a bit of refactoring in the Application and Command classes as well as improving
CommandTest
and use symfony CommandTester instead of mocking and using Reflection.An additional: we got rid of message:
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
RunCommandTest is a functional test instead of Unit.