Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6397

Clarify rules on file termination

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Low Low
    • Coding style
    • None

      Policy: Rules on file/line termination

      Since 17th Jun 2021, these points have been agreed:

      • Every line must be terminated by a Unix line feed character (LF, decimal 10, hexadecimal 0x0A).
      • Carriage returns (CR, decimal 13, hexadecimal 0x0D) must NOT be used alone or with LFs.
      • There must be no whitespace characters (spaces or tabs) at the end of any line.
      • There must be no extra blank lines at the end of a file; every file should end with a single LF character.

      Note: This is consistent with the conventions of PSR-12.

      Clarify the rules on file termination both in coding style, and in CI.

        1. proposal_6397.md
          2 kB
        2. C67FBAAD-4449-4C52-90BB-8AD331662ABF.jpeg
          C67FBAAD-4449-4C52-90BB-8AD331662ABF.jpeg
          737 kB
        3. screenshot-1.png
          screenshot-1.png
          4 kB
        4. no-end-LF.png
          no-end-LF.png
          9 kB
        5. with-end-LF.png
          with-end-LF.png
          10 kB

            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.