Skip to content

Forward compatibility with PHPUnit 6 - #122

Merged
jsor merged 2 commits into
reactphp:masterfrom
carusogabriel:phpunit
Nov 18, 2017
Merged

Forward compatibility with PHPUnit 6#122
jsor merged 2 commits into
reactphp:masterfrom
carusogabriel:phpunit

Conversation

@carusogabriel

Copy link
Copy Markdown
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 and ^5.7, that support this namespace.

@WyriHaximusWyriHaximus left a comment

Copy link
Copy Markdown
Member

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

@clueclue left a comment

Copy link
Copy Markdown
Member

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:

@clueclue added this to the v0.7.5 milestone Nov 17, 2017
@carusogabriel

Copy link
Copy Markdown
ContributorAuthor

@clue Done. Added PHPUnit 6 support.

@clueclue changed the title Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCaseForward compatibility with PHPUnit 6Nov 18, 2017

@clueclue left a comment

Copy link
Copy Markdown
Member

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: 👍

@jsor
jsor merged commit 97269c1 into reactphp:masterNov 18, 2017
@carusogabriel
carusogabriel deleted the phpunit branch November 18, 2017 14:49
Sign up for freeto 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.

4 participants

@carusogabriel@jsor@WyriHaximus@clue