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

Code checker: Improvements for 2.2 and 2.3 (upgrade php-sniffer version and add inline comments new sniff)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.3, 2.3
    • 2.2.2, 2.3
    • Local: Code checker
    • None

      There are some minor improvements to be performed to the code-checker plugin (to be used in 2.2 and upwards):

      • Update codesniffer to 1.3.3 (we are 1.3.0 right now).
      • Add one Sniff controlling invalid T_COMMENT tokens:
        • # (shell/perl ones => error).
        • /// (more than 2 slashes => error).
        • //[^ ] (2 slashes not followed by space => warning).
      • Tidy plugin own phpdocs.
      • Update http://docs.moodle.org/dev/Coding_style to explain/clarify the 2-slash rules.

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Tim Hunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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