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

Code checker reports at least one empty if block in blog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.4, 3.4.3, 3.5
    • Fix Version/s: None
    • Component/s: Blog
    • Labels:

      Description

      Run code checker with the path "blog" (without the quotes). It will report 3 empty ifs and 1 empty else. Check if they are required. If not, alter the logic to avoid the need for empty code blocks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andyjdavis Andrew Davis
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: