Skip to content

Commit

Permalink
Merge pull request #947 from MKodde/bugfix/php56-bc-breaking-change-fix
Browse files Browse the repository at this point in the history
Provide PHP 5.6 / PHPUnit 5.7.27 support
  • Loading branch information
davedevelopment committed Feb 13, 2019
2 parents dc4f10b + 3071686 commit 5337246
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

## x.y.z (unreleased)

* Fix a BC breaking change for PHP 5.6/PHPUnit 5.7.27 (#947)

## 1.2.1 (2019-02-07)

* Support for PHPUnit 8 (#942)
Expand Down
Expand Up @@ -20,7 +20,7 @@

namespace Mockery\Adapter\Phpunit\Legacy;

if (class_exists('PHPUnit_Framework_TestCase') && ! class_exists('PHPUnit\Framework\TestCase')) {
if (class_exists('PHPUnit_Framework_TestCase') && ! class_exists('PHPUnit\Util\Blacklist')) {
class_alias('PHPUnit_Framework_ExpectationFailedException', 'PHPUnit\Framework\ExpectationFailedException');
class_alias('PHPUnit_Framework_Test', 'PHPUnit\Framework\Test');
class_alias('PHPUnit_Framework_TestCase', 'PHPUnit\Framework\TestCase');
Expand Down
Expand Up @@ -18,8 +18,6 @@
* @license https://github.com/mockery/mockery/blob/master/LICENSE New BSD License
*/

declare(strict_types=1);

namespace Mockery\Adapter\Phpunit;

trait MockeryPHPUnitIntegrationAssertPostConditionsForV7AndPrevious
Expand Down

0 comments on commit 5337246

Please sign in to comment.