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

Support PHPUnit 9 #50

Merged
merged 3 commits into from Feb 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,8 @@ language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4

before_script:
- composer update
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": ">=7.1.0",
"myclabs/deep-copy": "~1.1",
"phpunit/phpunit": ">=7.0 <9.0"
"phpunit/phpunit": ">=7.0 <10.0"
},
"autoload": {
"psr-0": {
Expand Down
8 changes: 7 additions & 1 deletion src/Codeception/Specify/ResultPrinter.php
Expand Up @@ -2,7 +2,13 @@

namespace Codeception\Specify;

class ResultPrinter extends \PHPUnit\TextUI\ResultPrinter
use PHPUnit\TextUI\DefaultResultPrinter;

if (!class_exists(DefaultResultPrinter::class)) {
class_alias(\PHPUnit\TextUI\ResultPrinter::class, DefaultResultPrinter::class);
}

class ResultPrinter extends DefaultResultPrinter
{
/**
* @param string $progress
Expand Down