Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidates trait and dynamically extend PHPUnit #691

Merged
merged 3 commits into from
Feb 9, 2017

Conversation

davedevelopment
Copy link
Collaborator

Suggested fix #690

@davedevelopment
Copy link
Collaborator Author

Ugh, sorry for the ugly patch.

abstract class MockeryTestCase extends \PHPUnit_Framework_TestCase
{
protected function assertPostConditions()
if (class_exists("\PHPUnit_Framework_TestCase")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for the leading slash, infact, it just gets deleted by php, so we should remove it.

/**
use Mockery;

/**\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@davedevelopment
Copy link
Collaborator Author

@GrahamCampbell thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

phpUnit 6.0 support?
3 participants