Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented May 27, 2022

Supersedes #6010

Description
Indent the View files with 4 spaces.
The only one exception is system/Debug/Toolbar/Views/toolbar.css.
It is generated by scss and it uses space 2 indentation.

  • update editorconfig
  • fix indentation in View files

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

@kenjis kenjis mentioned this pull request May 27, 2022
2 tasks
--light-bg-color: #ededee;
--dark-bg-color: #404040;
--main-bg-color: #fff;
--main-text-color: #555;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these diffs generated by Dart SASS?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, it seems my mistake.

Copy link
Member Author

@kenjis kenjis May 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is not generated by SASS.
I replaced tabs with spaces manually.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. It seems kinda weird that they look the same from my PC.

image

Copy link
Member

@paulbalandan paulbalandan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine with me but let's have others take a look.

@MGatner
Copy link
Member

MGatner commented May 29, 2022

Coverage decreased 6.3% 😭

@kenjis
Copy link
Member Author

kenjis commented May 29, 2022

I don't think this PR changes code coverage.

I saw https://coveralls.io/builds/49510047 but I don't get where the decreasing occurs.

@kenjis kenjis merged commit d464fbf into codeigniter4:develop May 29, 2022
@kenjis kenjis deleted the fix-editorconfig-and-indent-in-views branch May 29, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants