Closed tkotosz closed 5 years ago
Currently when running phpscpec for the MethodProphecy class then I get the following:
$ vendor/bin/phpspec r spec/Prophecy/Prophecy/MethodProphecySpec.php 0 0 specs 0 examples 0ms
It seems this happens because a new class is defined before the MethodProphecySpec class which seemingly not allowed.
I have moved that other class to the bottom of the file then the tests started to run but a few of them was failing so I fixed those in this PR.
after the fixes:
php 5 build fixed now, please let me now if there is a better way to fix it :)
@stof fixed the PR based on your feedback. Could you please have a look again?
squashed commits to prep the PR for merge
Currently when running phpscpec for the MethodProphecy class then I get the following:
It seems this happens because a new class is defined before the MethodProphecySpec class which seemingly not allowed.
I have moved that other class to the bottom of the file then the tests started to run but a few of them was failing so I fixed those in this PR.
after the fixes: