This is the first PHP extension I've seen in VS Code flexible enough with PHP formatting to meet the backend coding standards for a project I'm on which uses PSR-12 and some custom rules. Thanks for all the hard work!
I do have some additional features I'd love to see. Here's one for the wrapping rules:
Print Width setting for wrapping lines that get too long similar to Prettier
Original:
Example printWidth = 60
This would add two new options to each wrap rule:- on_items_exceeding_print_width - Only wraps items beyond the print width
- on_each_item_if_exceeding_print_width - Wraps each item if beyond the print width on one line
- on_items_exceeding_print_width - Only wraps items beyond the print width