Hey there ! The tool proposes to convert a 'switch' block to a 'match' one which is a PHP 8.0 feature or I work with PHP 7.4 The settings.json is correctly filled (i guess). Or the trick with // phpcs:ignorefile // phpcs:disable
don't work either. Any idea ?
ericdelcroix Thank you for letting us know.
This quick action is just a refactoring hint, not a suggestion or fix of an issue.
However, as you pointed out, we should probably not suggest match if you're running PHP < 8.0 - will be fixed!
match
Fixed; won't be offering match code action for PHP < 8.0 in the next update
thanks!