Fix namespace for MethodNotFoundException #9

Merged
merged 1 commit into from Apr 3, 2013

Conversation

Projects
None yet
2 participants
Contributor

gunnarlium commented Apr 3, 2013

Currently, I get:

PHP Fatal error: Class 'Prophecy\Exception\Prophecy\MethodNotFoundException' not found in /[...]/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(48) : eval()'d code on line 22

when calling a non-existing method on a revealed object.

I believe this exception should be \Prophecy\Exception\Doubler\MethodNotFoundException.

@gunnarlium gunnarlium Fix namespace for MethodNotFoundException
Currently, I get:

PHP Fatal error: Class 'Prophecy\Exception\Prophecy\MethodNotFoundException' not found in /[...]/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(48) : eval()'d code on line 22

I believe this exception should be `\Prophecy\Exception\Doubler\MethodNotFoundException`.
d510634

everzet merged commit d32173f into phpspec:master Apr 3, 2013

1 check was pending

default The Travis build is in progress
Details
Owner

everzet commented Apr 3, 2013

Oh, right. Forgot about this one. Sorry for inconvenience and thank you very much for contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment