Skip to content

Commit f8554ca

Browse files
bobfloatsroot
authored and
root
committed
Fix travis phpunit 6 issue
1 parent 2aba6fc commit f8554ca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/VersionControl/GitCommandBundle/Tests/GitCommandTestCase.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
use VersionControl\GitCommandBundle\GitCommands\GitCommand;
66
use Symfony\Component\Filesystem\Filesystem;
77

8+
if (!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
9+
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
10+
}
11+
812
/**
913
* Description of GitCommandTestCase.
1014
*
1115
* @author fr_user
1216
*/
13-
class GitCommandTestCase extends \PHPUnit\Framework\TestCase
17+
class GitCommandTestCase extends \PHPUnit_Framework_TestCase
1418
{
1519
/**
1620
* @var GitCommands

0 commit comments

Comments
 (0)