Skip to content

Adhere to Moodle code checker.#111

Open
lucaboesch wants to merge 1 commit intobycs-lp:mainfrom
lucaboesch:codechecker
Open

Adhere to Moodle code checker.#111
lucaboesch wants to merge 1 commit intobycs-lp:mainfrom
lucaboesch:codechecker

Conversation

@lucaboesch
Copy link
Copy Markdown
Contributor

No description provided.

@PhMemmel
Copy link
Copy Markdown
Member

PhMemmel commented Feb 7, 2026

Thank you @lucaboesch ! Any idea why these flaws have not been recognized by the GHA? If the pipeline is green but should not be, we should definitely fix it!

Copy link
Copy Markdown
Member

@PhMemmel PhMemmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for sending this PR.

You apparently were running local_moodlecheck on this.

The reason we do not have these checks in the pipeline is that this plugin is going to be deprecated (or is already): https://github.com/moodlehq/moodle-local_moodlecheck/blob/main/README.md

All sniffs will be integrated in the phpcs, so we do not have the phpdoc checks this in our pipeline. Apparently the checks for missing and wrong function parameters in the PHPDoc is not yet working in the new phpcs which is why this PR makes sense. Just have some minor recommendations left.

See also moodlehq/moodle-cs#30 and https://moodle.org/mod/forum/discuss.php?d=455786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants