Skip to content

Commit

Permalink
Merge pull request #6 from Codeception/revert-4-shim-generator-patch
Browse files Browse the repository at this point in the history
Revert "Reversed MockObject_Generator condition"
  • Loading branch information
Naktibalda authored May 17, 2018
2 parents 36981f5 + 140db73 commit 681b623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shim.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class_alias('PHPUnit_Framework_TestCase', 'PHPUnit'.'\Framework\TestCase');
if (!class_exists('PHPUnit\Runner\Version')) {
class_alias('PHPUnit_Runner_Version', 'PHPUnit\Runner\Version');
}
if (class_exists('PHPUnit_Framework_MockObject_Generator')) {
if (!class_exists('PHPUnit\Framework\MockObject\Generator')) {
class_alias('PHPUnit_Framework_MockObject_Generator', 'PHPUnit\Framework\MockObject\Generator');
class_alias('PHPUnit_Framework_MockObject_InvocationMocker', 'PHPUnit\Framework\MockObject\InvocationMocker');
class_alias('PHPUnit_Framework_MockObject_Invokable', 'PHPUnit\Framework\MockObject\Invokable');
Expand Down

0 comments on commit 681b623

Please sign in to comment.