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

Mock classes with new in initializers on PHP 8.1 #1160

Merged
merged 6 commits into from Jan 14, 2022
Merged

Mock classes with new in initializers on PHP 8.1 #1160

merged 6 commits into from Jan 14, 2022

Conversation

ghostwriter
Copy link
Member

This patch resolves #1154, via the following changes:

  • Add tests and fixtures
  • Mock classes with new in initializers

Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
@Bilge
Copy link
Contributor

Bilge commented Jan 13, 2022

Confirmed this patch works for me 👍🏻

@davedevelopment davedevelopment merged commit 98dd208 into mockery:master Jan 14, 2022
@davedevelopment
Copy link
Collaborator

👍 thank you

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.

PHP 8.1 new in constructor initializers
3 participants