We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.18.3
8.4.x
I did not try pint with property hooks, or updated exit() / die() but they for sure cause issues to pint as well.
Create following class and try to pass it by pint.
class Example { public function __construct( public private(set) ?string $text = null; ) { $this->text ??= 'Hello World!'; } }
Result: Fatal error: Multiple access type modifiers are not allowed on line XX
After removing redundant "public":
class Example { public function __construct( private(set) ?string $text = null; ) { $this->text ??= 'Hello World!'; } }
Result: Parse error: syntax error, unexpected token ")", expecting amp on line XX
The text was updated successfully, but these errors were encountered:
The underlying library PHP-CS-Fixer is currently working on PHP 8.4 compatibility (this does not include PHP 8.4 syntax specific fixers). See the following milestone for more information: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/milestone/173
Furthermore is Laravel Pint working on PHP 8.4 compatibility: See #304
Because this is a CLI tool and not Laravel/Illuminate directly, it is also waiting on laravel-zero to be compatible with PHP 8.4.
Sorry, something went wrong.
thank you @Jubeki
Duplicate of #304
Let's just monitor the status using the posted PR.
No branches or pull requests
Pint Version
1.18.3
PHP Version
8.4.x
Description
I did not try pint with property hooks, or updated exit() / die() but they for sure cause issues to pint as well.
Steps To Reproduce
Create following class and try to pass it by pint.
Result: Fatal error: Multiple access type modifiers are not allowed on line XX
After removing redundant "public":
Result: Parse error: syntax error, unexpected token ")", expecting amp on line XX
The text was updated successfully, but these errors were encountered: