blade-formatter
blade-formatter copied to clipboard
[Feature]: Support PHP 8.4
Description
Hello!
I have this in my blade:
@props([
'fileExtensions' => new AllowedExtensionsFilePolicy()->get(),
])
but it's failing with
SyntaxError: Parse Error : syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ']'
Thanks!
Suggested Solution
I'd like PHP 8.4 to be supported
Alternatives
No response
Additional Context
No response
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
It would be great to have support for this!
Merging #999 should help with this.
This will be resolved after 8.4 support in plugin-php merged. https://github.com/prettier/plugin-php/pull/2422