Open Spriz opened 2 months ago
Hi @Spriz, I'd like to try and replicate your environment to test this.
Could I confirm with you, is this a package you are developing for, or including as a dependency?
What coding style standard are you applying to phpcs/phpcbf
@jonathanbossenger It's just a dependency I had opened to make a 1-line PR, but I'm actually worried that it might have been my VSCode setup using an extension that should auto format with phpcbf. It caused other issues for me the past few days, and I ended up uninstalling it.
OK, thanks anyway for the feedback.
Sorry it's not very specific. These are the phpcs settings I use FWIW: https://gist.github.com/Spriz/f5517701dafbe9c1c077458012559a0e
Feel free to close if you don't see any easy reproducible thing here :v:
When formatting code with this extension it changes this line here: https://github.com/spawnia/sailor/blob/master/src/Codegen/ObjectLikeBuilder.php#L91
to:
(it adds a bunch of whitespaces)
Running
phpcbf
from terminal doesn't do thisthe phpcs error it's showing is from this rule