Skip to content

Conversation

@javiereguiluz
Copy link
Member

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!

@yceruto
Copy link
Member

yceruto commented Mar 14, 2017

I'm fine with that 👍

@javiereguiluz
Copy link
Member Author

@yceruto thanks for understanding it!

@javiereguiluz javiereguiluz merged commit 17f9a10 into symfony:master Mar 15, 2017
javiereguiluz added a commit that referenced this pull request Mar 15, 2017
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants