You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #503 Removed ControllerTestTrait (javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
Removed ControllerTestTrait
In #481, @yceruto introduced some nice features. I like them all ... but one of them is not compatible with the way Symfony promotes to do things. The `ControllerTestTrait` is a PHP trait with some helper methods to reduce the boilerplate code in tests. Even if the solution is technically correct, we don't use it in the official Symfony docs. This can create confusion for new developers studying this app and reading the docs.
I propose to revert this feature in this PR ... and later we can discuss about ways to improve this without using traits. Thanks!
Commits
-------
17f9a10 Removed ControllerTestTrait
0 commit comments