Skip to content

Commit

Permalink
Backport forward compatibility layer for PHPUnit 6 from PHPUnit 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 6, 2017
1 parent 95f30cd commit a55235c
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/ForwardCompatibility/Assert.php
@@ -0,0 +1,17 @@
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace PHPUnit\Framework;

use PHPUnit_Framework_Assert;

abstract class Assert extends PHPUnit_Framework_Assert
{
}
17 changes: 17 additions & 0 deletions src/ForwardCompatibility/BaseTestListener.php
@@ -0,0 +1,17 @@
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace PHPUnit\Framework;

use PHPUnit_Framework_BaseTestListener;

abstract class BaseTestListener extends PHPUnit_Framework_BaseTestListener
{
}
17 changes: 17 additions & 0 deletions src/ForwardCompatibility/TestCase.php
@@ -0,0 +1,17 @@
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace PHPUnit\Framework;

use PHPUnit_Framework_TestCase;

abstract class TestCase extends PHPUnit_Framework_TestCase
{
}
17 changes: 17 additions & 0 deletions src/ForwardCompatibility/TestListener.php
@@ -0,0 +1,17 @@
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace PHPUnit\Framework;

use PHPUnit_Framework_TestListener;

interface TestListener extends PHPUnit_Framework_TestListener
{
}

0 comments on commit a55235c

Please sign in to comment.