Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code style: Standardize whitespace and indentation #702

Open
donquixote opened this issue Jan 28, 2023 · 1 comment
Open

Code style: Standardize whitespace and indentation #702

donquixote opened this issue Jan 28, 2023 · 1 comment
Assignees
Labels
chore Modification without impact on the code (description, readme, comment)

Comments

@donquixote
Copy link

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 :)

@zak39
Copy link
Collaborator

zak39 commented Aug 3, 2023

Yes, I will clean up that 👍

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

@zak39 zak39 self-assigned this Aug 3, 2023
@zak39 zak39 added the chore Modification without impact on the code (description, readme, comment) label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Modification without impact on the code (description, readme, comment)
Projects
None yet
Development

No branches or pull requests

2 participants