jradtilbrook/vscode-php-cs-fixer

Remove the no-op on unmodified files

jradtilbrook opened this issue · 1 comments

For performance reasons this plugin doesn't currently run if the file is not dirty. That means if you try run the formatter on a clean file it won't do anything, even if the formatting is wrong. This is more annoying that useful so I want to undo that and run it against any file

Should just be removing these

// exit early if no changes have been made
if (!document.isDirty) {
return resolve([]);
}