Thank you Jakub for the quick reply
Yes this occurs only during saving and seems to be connected to the formatter
defninting formatOnSave: false makes this issue dissapear
but im using the devsense formatter
"[php]": {
"editor.defaultFormatter": "DEVSENSE.phptools-vscode"
},