Pint fails on use
with closure in 8.4
#324
Labels
dependencies
Pull requests that update a dependency file
use
with closure in 8.4
#324
Pint Version
1.19.0
PHP Version
8.4.2
Description
When running Pint on PHP 8.4 we're getting
Cannot access offset of type null on SplFixedArray
on the reproduction case (Index invalid or out of range
on the original file, before narrowing it down to this specific case).We don't get the error on PHP 8.3, if we remove the contents of the closure, remove the
use()
statement or if we add areturn
statement.Steps To Reproduce
./vendor/laravel/pint --no-config --test test.php
The text was updated successfully, but these errors were encountered: