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

Make prechecker to ignore the indentation rules for theme layout files

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.8.5
    • Local: Code checker
    • None
    • MOODLE_28_STABLE

      As raised by Richard Oelmann at https://moodle.org/plugins/view/theme_flexibase the current implementation of the indentation checks fails badly for theme layout files.

      These files are typically HTML files with PHP embedded inline. Normal indentation rules do not fit this situation. Humans readability rules, and should not trigger prechecker error.

      For now, it might be best to simply ignore the indentation check for the theme//layout/ files, as suggested by stronk7 in the moodle dev chat.

            stronk7 Eloy Lafuente (stronk7)
            mudrd8mz David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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