-
Notifications
You must be signed in to change notification settings - Fork 39
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
Latest doctrine/instantiator bugs out with patchwork #64
Comments
Cross-linking sebastianbergmann/phpunit#2746 |
Hey there, thanks for fixing this. But ... it's not working for me. I have a repository that depends on Patchwork and PHPUnit 5.7, and thus Instantiator (which I get as version 1.1.0). Still the fatal error keeps on coming. Any idea why that is? |
In your composer.json replace to |
I am using 2.0.8. |
Also, if there's a |
Thanks for the info. However, I don't use any |
Please use |
No problem, and thanks! |
Also having issues with 2.0.8, any failing test or anything produces the fatal error in Instantiator. Not doing anything with Patchwork directly, using it via Brain Monkey. Downgrading to Instantiator 1.0.5 seems to help for now. cc @gmazzap |
This time, I have successfully reproduced the bug with an actual copy of doctrine/instantiator 1.1, and made a second attempt at the fix. |
Seems to have gotten my issue this time! No errors with 2.0.9 and Instantiator 1.1 so far, thaaank you. :) |
Wow, nice one, @antecedent! Thanks! |
Yep it seems to have solved the issue completely. Thank you! |
Versions
MCV example
patchwork-doctrine-master.zip
Temporary workaround
Add
"doctrine/instantiator": "1.0.x-dev"
tocomposer.json
Edit
Quick-fixed in
patchwork==2.0.8
. Redefining void hinted functions will be supported in future versions, now they are skipped.The text was updated successfully, but these errors were encountered: