Thanks again for the post.
I think this is expected behavior with
on_every_item settings. It has an effect only if the affected code is split across more lines. So it keeps them on one line if not.
If you try to introduce a new line into
myFunc function header, the formatting should wrap the whole thing.
function foo($x, $y
I think introducing more wrapping rules might improve the usability. e.g. the one you've proposed in https://community.devsense.com/d/1711-print-width-for-wrap-rules-like-prettier