Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward compatibility with PHPUnit 6 and PHPUnit 5 #120

Merged
merged 2 commits into from
Nov 15, 2017
Merged

Forward compatibility with PHPUnit 6 and PHPUnit 5 #120

merged 2 commits into from
Nov 15, 2017

Conversation

carusogabriel
Copy link
Contributor

I use the PHPUnit\Framework\TestCase notation instead of PHPUnit_Framework_TestCase while extending our TestCase. This will help us migrate to PHPUnit 6, that no longer support snake case class names.

I just need to bump PHPUnit version to ~4.8.35, that support this namespace.

@clue clue added this to the v0.5.0 milestone Nov 13, 2017
Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for you digging into this and filing this PR! The changes LGTM, does it make sense to you to add support for PHPUnit 5 and PHPUnit 6 as part of this PR? :shipit:

@clue clue changed the title Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase Forward compatibility with PHPUnit 6 and PHPUnit 5 Nov 14, 2017
Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you for the quick update! :shipit: 👍

@cboden
Copy link
Member

cboden commented Nov 15, 2017

Awesome! Thanks @Gabriel-Caruso! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants