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

[2.x] Allowing Closure Interpretion #905

Conversation

devajmeireles
Copy link
Member

Q A
Bug fix? yes/no
New feature? yes

We know that PestPHP aims to offer many facilities, but unfortunately this is not possible:

CleanShot 2023-08-11 at 4 01 49

As the essence of PestPHP is to bring us new possibilities and many facilities for our tests, this PR aims to add the possibility to interpret and execute a closure injected directly via expect, allowing us to do things like:

CleanShot 2023-08-11 at 4 00 47

@devajmeireles devajmeireles changed the title [Feature] Allowing Closure Interpretion [2.x] Allowing Closure Interpretion Aug 11, 2023
@devajmeireles devajmeireles marked this pull request as draft August 11, 2023 19:09
@devajmeireles devajmeireles deleted the feature/allowing-closure-interpretion branch August 14, 2023 20:03
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.

1 participant