As I work in this codebase, I get tons of diff noise from trailing whitespace and missing newlines at the ends of files that PhpStorm/VSCode strip out and generative AI can't seem to help itself from fixing when making unrelated changes. This issue is to fix all those issues once and for all. In all code files, it...

  • Removes trailing whitespace
  • Ensures exactly one newline character at the end
  • Updates .gitattributes with a change that ddev/ddev-drupal-contrib makes every time you update Composer dependencies

It's kind of a long diff, but it's nothing but whitespace changes except .gitattributes, and even that's not a functional change. I asked GitHub Copilot to examine the diff, and it said, "there is nothing but whitespace changes in this diff. There are no changes that warrant manual testing or a closer look."

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

traviscarden created an issue. See original summary.

traviscarden’s picture

Assigned: traviscarden » Unassigned
Issue summary: View changes
Status: Active » Needs review
balsama’s picture

Status: Needs review » Reviewed & tested by the community

balsama’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.