Skip to content

Conversation

@fabpot
Copy link
Member

@fabpot fabpot commented Aug 31, 2014

TestCase is an old class that was used in Symfony before Composer. Anyway, it was not used consistently used in the code and the error could never occurred as PHPUnit tries to load vendor/autoload.php first, which ensure that Monolog exists when running the tests.

@xabbuh
Copy link
Member

xabbuh commented Aug 31, 2014

@fabpot Does it make sense to add a note to the upgrade guide? Just for the very rare case that someone used the class outside Symfony (this doesn't make make much sense but who knows). Since nothing forbids someone to do that.

@fabpot
Copy link
Member Author

fabpot commented Aug 31, 2014

This is a purely internal class. As you said, using it outside of the context of our tests would not make sense.

@stof
Copy link
Member

stof commented Aug 31, 2014

Thanks @fabpot.

@stof stof merged commit 9987326 into symfony:master Aug 31, 2014
stof added a commit that referenced this pull request Aug 31, 2014
This PR was merged into the 2.6.x-dev branch.

Discussion
----------

removed test base class

`TestCase` is an old class that was used in Symfony before Composer. Anyway, it was not used consistently used in the code and the error could never occurred as PHPUnit tries to load `vendor/autoload.php` first, which ensure that Monolog exists when running the tests.

Commits
-------

9987326 removed test base class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants