-
Notifications
You must be signed in to change notification settings - Fork 154
Wrong formatting of Pest's get method #354
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
Comments
We have the same problem. Some additional information: We are running v1.21.0 with php 8.3, that gives no errors in styling.
and then run:
But when i use php8.4:
The output differs:
The difference in files is the same as @toddy15 described: ![]() |
A workaround for this is to use |
@toddy15 we figured that out as well. It seems that it only happens with |
this worked for me dont know if it helps changing to use function Pest\Laravel\get; and then rerunning pint stopped complaining |
Pint Version
1.21.0
PHP Version
8.4.4
Description
I've noticed that pint creates wrongly formatted output for the Pest test method
get
. I suspect that this might be related to #352.Below is a diff of a pint run of one of my tests:
Steps To Reproduce
Create a Pest test and format it with pint.
Expected:
Actual output:
The text was updated successfully, but these errors were encountered: