workspace icon indicating copy to clipboard operation
workspace copied to clipboard

Code style: Standardize whitespace and indentation

Open donquixote opened this issue 2 years ago • 1 comments

Currently I find a mix of spaces and tabs in the codebase. The convention in Nextcloud, and also in the wider PHP world (PSR-2 or PSR-12) is to use 4 spaces for indentation, no tabs. (for the record, in Drupal it is 2 spaces) I think it would be a good idea to clean it up :)

donquixote avatar Jan 28 '23 01:01 donquixote

Yes, I will clean up that :+1:

I created the .editorconfig file a few months ago for the new php files.

zak39 avatar Aug 03 '23 10:08 zak39