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

ReferenceExpectation scalar bug #10

Closed
mal opened this issue Jul 30, 2015 · 0 comments
Closed

ReferenceExpectation scalar bug #10

mal opened this issue Jul 30, 2015 · 0 comments

Comments

@mal
Copy link
Contributor

mal commented Jul 30, 2015

Transfering my comment from the now defunct #8 to an issue to be actively looked into.

tl;dr

Hmmm, seems those fails are valid. Looking at them I also suspect that #7 has introduced some potential pit falls. I think perhaps #5 was the way to go after all.

Problem is those ampersands are needed (objects are implicitly byref in PHP5, but scalars and arrays are not). Unfortunately that means it can't inherit (warnings to do with differing method signatures) so the separate class and just tweaking the isExpectation method was probably the safest change afterall!

Recommend reopening #5 and reverting #7 merging #11.

Sorry for the confusion 😞

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

No branches or pull requests

1 participant