You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('check for dd, dump, var_dump, print_r left overs in code')
->expect(['dd', 'dump', 'var_dump', 'print_r', 'env'])
->not->toBeUsed();
I don't get test failing when I have print_R in my code. Sometimes when typing fast I write print_r with capital R and I would expect that this should be catched and test should fail.
How to Reproduce
test('check for dd, dump, var_dump, print_r left overs in code')
->expect(['dd', 'dump', 'var_dump', 'print_r', 'env'])
->not->toBeUsed();
Add some where print_R. Even If I add print_R to expect function then system will not catch this error.
Sample Repository
No response
Pest Version
3.8.0
PHP Version
8.3.13
Operation System
Linux
Notes
No response
The text was updated successfully, but these errors were encountered:
What Happened
When I use
I don't get test failing when I have
print_R
in my code. Sometimes when typing fast I write print_r with capital R and I would expect that this should be catched and test should fail.How to Reproduce
Add some where
print_R
. Even If I add print_R to expect function then system will not catch this error.Sample Repository
No response
Pest Version
3.8.0
PHP Version
8.3.13
Operation System
Linux
Notes
No response
The text was updated successfully, but these errors were encountered: