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

[NodeTypeResolver] Add phpunit extension #1776

Merged
merged 3 commits into from
Jul 28, 2019
Merged

Conversation

TomasVotruba
Copy link
Member

Now $stub returns both Mock|Request compared to only Mock before

$stub = $this->getMockBuilder(Request::class)
            ->disableOriginalConstructor()
            ->getMock();

@TomasVotruba TomasVotruba merged commit d997791 into master Jul 28, 2019
@TomasVotruba TomasVotruba deleted the phpunit-mock-types branch July 28, 2019 15:49
TomasVotruba added a commit that referenced this pull request Feb 8, 2022
rectorphp/rector-src@1a9a859 [Core] Remove ClassLike_ tweak on RectifiedAnalyzer (#1776)
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.

1 participant