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] native functions in toBeUsedInNothing and toBeUsedIn #4

Merged
merged 1 commit into from Aug 21, 2023

Conversation

fabio-ivona
Copy link
Contributor

This PR will fix pestphp/pest#817 allowing to include native functions when evaluating toBeUsedInNothing and toBeUsedIn such as:

test('globals')
    ->expect(['sleep', 'usleep'])
    ->not->toBeUsed();

@nunomaduro nunomaduro merged commit e3f51ae into pestphp:2.x Aug 21, 2023
0 of 26 checks passed
@fabio-ivona fabio-ivona deleted the allow-php-native-functions branch August 21, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants