Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67438

Coding style cleanup: mod/wiki/parser/parser.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9
    • 3.7.3, 3.8, 3.9
    • General, Wiki (2.x)

      This is about to clean mod/wiki/parser/parser.php and make it style compliant:

      • Add the file comments block (+ MOODLE_INTERNAL).
      • Whitespace fixes (alignment, tabs, trailing...)
      • Rename a couple of (internal) variables to follow the coding style.

      Note this does not fix the missing (in all methods) phpdoc blocks. Only phpcs.

      We don't touch this file much, but every time we do lots of those little things are reported (for example MDL-67114). I started applying the coding style in that issue but wanted to keep that it clean from noise. So doing it here and now.

      For your consideration.

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Adrian Greeve Adrian Greeve
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 50 minutes
                1h 50m

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