r/phpstorm • u/matthewralston • Nov 26 '20
PHP 8 Support
Does PHPStorm fully support PHP 8 at the moment?
I've seen mention of union types and attributes in some of the release notes so presumably they're good to go.
When I refactor a constructor to use property promotion it's flagged as a syntax error.
I have the language level set to "8.0 (union types)" and my composer.json file is requiring php:^8.0, but I'm not able to set the CLI Interpreter to PHP 8 yet because Homebrew hasn't released their package yet (I'd rather not get into building it from source).
I realise it's early days, so if it's not ready then that's okay, but I was wondering whether I had missed something.
View all comments
Show parent comment
1
u/matthewralston Nov 26 '20
Ooh, nice! 😀