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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Simey Lameze Simey Lameze
              Adrian Greeve Adrian Greeve
              CiBoT CiBoT
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

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