Format code command for PHP/HTML in Visual Studio Code - Stack Overflow

PHOTO EMBED

Fri Jul 01 2022 17:24:39 GMT+0000 (UTC)

Saved by @darkoeller #php

"php-cs-fixer.executablePath": "${extensionPath}\\php-cs-fixer.phar",
"[php]": {
    "editor.defaultFormatter": "junstyle.php-cs-fixer",
    "editor.formatOnSave": true
},
"php-cs-fixer.rules": "@PSR2",
"php-cs-fixer.formatHtml": true,
content_copyCOPY

https://stackoverflow.com/questions/32236030/format-code-command-for-php-html-in-visual-studio-code