Skip to content

Moodle Code Checker update #1609

@EJMFarrow

Description

@EJMFarrow

Updating to the latest version of Code Checker leads to... 261229 errors! (Oh and 19 warnings which just feels like a joke at our expense to be honest.)

Fortunately 250,000 seem to be in the autogenerated files but still...

Most issues seem to be:

  • Multi-line function calls need to be one argument per line and not on the same line as opening and closing brackets. And indented correctly.
  • Lack of spaces around operators - mainly . for combining strings.

Hopefully we can use phpcbf to do most of the work as with #1168 - I will experiment. Will need to discuss when the best time to fix this is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions