Skip to content

Commit a55235c

Browse files
Backport forward compatibility layer for PHPUnit 6 from PHPUnit 5
1 parent 95f30cd commit a55235c

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

src/ForwardCompatibility/Assert.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
11+
namespace PHPUnit\Framework;
12+
13+
use PHPUnit_Framework_Assert;
14+
15+
abstract class Assert extends PHPUnit_Framework_Assert
16+
{
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
11+
namespace PHPUnit\Framework;
12+
13+
use PHPUnit_Framework_BaseTestListener;
14+
15+
abstract class BaseTestListener extends PHPUnit_Framework_BaseTestListener
16+
{
17+
}

src/ForwardCompatibility/TestCase.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
11+
namespace PHPUnit\Framework;
12+
13+
use PHPUnit_Framework_TestCase;
14+
15+
abstract class TestCase extends PHPUnit_Framework_TestCase
16+
{
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
11+
namespace PHPUnit\Framework;
12+
13+
use PHPUnit_Framework_TestListener;
14+
15+
interface TestListener extends PHPUnit_Framework_TestListener
16+
{
17+
}

0 commit comments

Comments
 (0)