Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5796

Unnecessary whitespace causes headaches in source control

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.6
    • Fix Version/s: None
    • Labels:
      None
    • Plugin Version:
      2014101007
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Unnecessary whitespace, that is whitespace at the end of a line, or a blank line containing only white space, causes headaches for source control. As such it should be avoided.

      Additionally using the php closing tag ?> at the end of a file can also cause issues, especially where whitespace appears after these close tags.

      The attached patch addresses these issues.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: