Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8031

CodeChecker should detect use of global $PAGE and $OUTPUT in renderers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Local: Code checker
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      It is clearly to easy to make the mistake reported in MDL-68233. We have CodeChecker to help people avoid silly mistakes. It should be able to help here.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Participants:
              Component watchers:
              moodle.com, Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: