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

Codechecker fails in gitlab after MDL-74511

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.11.7
    • None
    • Other
    • MOODLE_311_STABLE

    Description

      Since we rebased workplace over 3.11.7 this morning we have failures in most of workplace plugins in the command "moodle-plugin-ci codechecker" for each file:

      ------------------------------------------------------------------------------------------------------------------------------------
      FOUND 1 ERROR AFFECTING 1 LINE
      ------------------------------------------------------------------------------------------------------------------------------------
       1 | ERROR | An error occurred during processing; checking has been aborted. The error message was: No sniffs were registered
         |       | (Internal.Exception)
      

      I tracked it down to MDL-74511, if it is reverted the codechecker passes.

      The difficulty here that:

      • there are two small plugins in workplace where the codechecker does not fail
      • codechecker does not fail locally
      • it also does not fail on github (on the same plugin where it fails on gitlab)

      So it's a really tricky one...

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              marina Marina Glancy
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: