Skip to content

Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase#4

Merged
kylekatarnls merged 1 commit into
phug-php:masterfrom
carusogabriel:refactoring-tests
Nov 26, 2017
Merged

Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase#4
kylekatarnls merged 1 commit into
phug-php:masterfrom
carusogabriel:refactoring-tests

Conversation

@carusogabriel
Copy link
Copy Markdown
Contributor

I've noticed that all phug-php packages use this one for tests. So, let's start from here the refactoring.

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, that support this namespace.

@kylekatarnls kylekatarnls merged commit 4bb95d6 into phug-php:master Nov 26, 2017
@carusogabriel carusogabriel deleted the refactoring-tests branch November 26, 2017 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants