Problem/Motivation

Small issue really, but thought I'd bring it to your attention:
Your module code uses inconsistent line endings. Some files have UNIX (LF), some have MSDOS (CRLF), line endings.

When adding your module to a Git repository, the MSDOS line endings are sometimes translated to UNIX style, and when Git is not correctly set-up this can show up as whitespace changes, even though nothing has been changed.

Proposed resolution

Make line ending characters used in all module code consistent, as per the Drupal coding standards and practices.

Remaining tasks

Add a .gitattributes file to the project, to ensure that consistent line endings are maintained over time.

Comments

chOP created an issue. See original summary.

chOP’s picture

Related issues: +#2865867: Coding standards
chOP’s picture