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

Removing cloning statements in tests #2982

Merged
merged 1 commit into from Jul 22, 2020

Conversation

l0gicgate
Copy link
Member

#2981 introduced some weird bug where cloning a prophecy makes it not retain its doubles. We don't actually need to clone them anyway, we were just replicating what most PSR-7 implementations do which is use clone $this which is actually an implementation detail to meet the immutability requirement. It's not relevant in case of these tests.

@l0gicgate l0gicgate added this to the 4.6.0 milestone Jul 8, 2020
@l0gicgate l0gicgate merged commit 6821c41 into slimphp:4.x Jul 22, 2020
@l0gicgate l0gicgate mentioned this pull request Nov 15, 2020
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 this pull request may close these issues.

None yet

1 participant