Skip to content

Conversation

@carusogabriel
Copy link
Contributor

I use the PHPUnit\Framework\TestCase notation instead of PHPUnit_Framework_TestCase while extending our TestCases. 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 and ^5.7, that support this namespace.

Copy link
Member

@WyriHaximusWyriHaximus left a comment

Choose a reason for hiding this comment

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

👍 Makes perfect sense to make, paves the road to PHPUnit 6 and beyond

@andig
Copy link
Contributor

According to reactphp/socket#132 it should be 5.7.11 as min version.

Copy link
Member

@clueclue 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 6 as part of this PR? :shipit:

@carusogabriel
Copy link
ContributorAuthor

@clue Done. Added PHPUnit 6 support ✅

Copy link
Member

@clueclue left a comment

Choose a reason for hiding this comment

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

Thank you for the quick update, changes LGTM! :shipit:

@clueclue added this to the v0.8.0 milestone Nov 14, 2017
@clueclue changed the title Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCaseForward compatibility with PHPUnit 6Nov 14, 2017
@clue
Copy link
Member

clue commented Nov 14, 2017

Rebased now that #244 is in :shipit:

@clueclue merged commit 7c6c705 into reactphp:masterNov 14, 2017
@carusogabrielcarusogabriel deleted the phpunit branch November 14, 2017 15:28
WyriHaximus pushed a commit to WyriHaximus/http that referenced this pull request Nov 14, 2017
@clueclue mentioned this pull request Nov 17, 2017
Sign up for freeto 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.

5 participants

@carusogabriel@andig@clue@jsor@WyriHaximus