Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent plugin runs to use the moodle.Commenting.TodoComment sniff #290

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Jan 17, 2024

That sniff covers the core coding style and verifies that all the TODOs (inline or phpdoc block), have a MDL issue associated.

But that's not a requirements for plugins, hence disabling that Sniff for them.

Fixes #289

That sniff covers the core coding style and verifies that all the
TODOs (inline or phpdoc block), have a MDL issue associated.

But that's not a requirements for plugins, hence disabling
that Sniff for them.

Fixes moodlehq#289
@stronk7
Copy link
Member Author

stronk7 commented Jan 19, 2024

Slef-merging this, so we have local_ci (and CiBoT) ready for the changes coming in moodle-cs.

@stronk7 stronk7 merged commit 0b4f601 into moodlehq:main Jan 19, 2024
4 checks passed
@stronk7 stronk7 deleted the prevent_todo_sniff_for_plugins branch January 19, 2024 08:27
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.

Ensure that we only use the TodoComment Sniff for core runs, not for plugin ones
1 participant