Open
Description
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:
<?php
if (false) {
set();
}
Result:
For some reason, the issue seems to be caused by set();
.
If I replace set();
by se();
of sett();
, pint pass successfully.
Metadata
Metadata
Assignees
Labels
No labels