Skip to content

Commit 46023de

Browse files
Expand forward compatibility layer
1 parent 912b8c1 commit 46023de

File tree

5 files changed

+59
-1
lines changed

5 files changed

+59
-1
lines changed

ChangeLog-4.8.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 4.8 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [4.8.36] - 2017-06-21
6+
7+
### Added
8+
9+
* Added `PHPUnit\Framework\AssertionFailedError`, `PHPUnit\Framework\Test`, and `PHPUnit\Framework\TestSuite` to the forward compatibility layer for PHPUnit 6
10+
511
## [4.8.35] - 2017-02-06
612

713
### Added
@@ -247,6 +253,7 @@ New PHAR release due to updated dependencies
247253
* Made the argument check of `assertContains()` and `assertNotContains()` more strict to prevent undefined behavior such as [#1808](https://github.com/sebastianbergmann/phpunit/issues/1808)
248254
* Changed the name of the default group from `__nogroup__` to `default`
249255

256+
[4.8.36]: https://github.com/sebastianbergmann/phpunit/compare/4.8.35...4.8.36
250257
[4.8.35]: https://github.com/sebastianbergmann/phpunit/compare/4.8.34...4.8.35
251258
[4.8.34]: https://github.com/sebastianbergmann/phpunit/compare/4.8.33...4.8.34
252259
[4.8.33]: https://github.com/sebastianbergmann/phpunit/compare/4.8.32...4.8.33
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 <sebastian@phpunit.de>
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_AssertionFailedError;
14+
15+
class AssertionFailedError extends PHPUnit_Framework_AssertionFailedError
16+
{
17+
}

src/ForwardCompatibility/Test.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 <sebastian@phpunit.de>
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_Test;
14+
15+
interface Test extends PHPUnit_Framework_Test
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 <sebastian@phpunit.de>
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_TestSuite;
14+
15+
class TestSuite extends PHPUnit_Framework_TestSuite
16+
{
17+
}

src/Runner/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function id()
3232
}
3333

3434
if (self::$version === null) {
35-
$version = new Version('4.8.35', dirname(dirname(__DIR__)));
35+
$version = new Version('4.8.36', dirname(dirname(__DIR__)));
3636
self::$version = $version->getVersion();
3737
}
3838

0 commit comments

Comments
 (0)