-
Notifications
You must be signed in to change notification settings - Fork 153
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
Braces bug since 1.19.0 #352
Comments
Just created that PR to reproduce the issue: #353 |
I suspect And in the changelog I can find something related to
|
The issue may come from one of those package upgraded between Laravel Pint 1.18.3 and 1.19.0:
Maintainer of |
Pint Version
1.19.0+
PHP Version
8.4
Description
Starting version
1.19.0
of Laravel Pint, I am facing a very strange bug where Laravel Pint detects false positive issue with braces.I cannot reproduce the issue on version
1.18.3
.Steps To Reproduce
This issue occurs only with PHP 8.4. Not on PHP 8.3
The minimum reproducer I found:
Result:
For some reason, the issue seems to be caused by
set();
.If I replace
set();
byse();
ofsett();
, pint pass successfully.The text was updated successfully, but these errors were encountered: