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

Namespaced mocks are not typed correctly #4

Open
timheilig opened this issue Sep 11, 2015 · 0 comments · May be fixed by #6
Open

Namespaced mocks are not typed correctly #4

timheilig opened this issue Sep 11, 2015 · 0 comments · May be fixed by #6

Comments

@timheilig
Copy link

In the case of

$dataProvider = Phake::mock('\DataProviders\Popup');

$dataProvider is getting a mixed type instead of correctly being typed to the namespace. I'm working on a fix for this now.

timheilig pushed a commit to timheilig/idea-php-phake that referenced this issue Sep 11, 2015
Hard coded the Phake_IMock addition, as picking it up from the
of the openapi.

Added an extra check for namespaced classnames being passed to Phake.mock.
timheilig pushed a commit to timheilig/idea-php-phake that referenced this issue Sep 11, 2015
Added an extra check for namespaced classnames being passed to Phake.mock.
timheilig pushed a commit to timheilig/idea-php-phake that referenced this issue Sep 16, 2015
Added an extra check for namespaced classnames being passed to Phake.mock.
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 a pull request may close this issue.

1 participant