Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3237

Use trailing commas in arrays and object definitions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.2
    • Fix Version/s: None
    • Component/s: Others
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE

      Description

      Trailing commas can be used in order to have cleaner diffs. This also adheres to an equivalent rule in the PHP coding sytle: https://docs.moodle.org/dev/Coding_style#Wrapping_arrays

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: