Applied various internal, coding and CI improvements:
Modified own CI tests to behave better.
Locked nikic/php-parser to v4 to avoid jumping to v5 yet (PHP compatibility).
Updated composer dependencies to current versions, notably PHP_CodeSniffer (3.8.1).
Added
New moodle.Commenting.TodoComment Sniff will be in charge to control that all the todo comments in core (both // TODO and @todo ones) always come with a link to the MDL project in the Tracker.
Its behaviour can be controlled both by the commentRequiredRegex property in ruleset files or by the moodleTodoCommentRegex configuration option in phpcs.xml files and CLI invocations. Setting them to empty string disables the Sniff completely.
Applied various internal, coding and CI improvements:
Modified own CI tests to behave better.
Locked nikic/php-parser to v4 to avoid jumping to v5 yet (PHP compatibility).
Updated composer dependencies to current versions, notably PHP_CodeSniffer (3.8.1).
Added
New moodle.Commenting.TodoComment Sniff will be in charge to control that all the todo comments in core (both // TODO and @todo ones). Always come with a link to the MDL project in the Tracker.
Its behaviour can be controlled both by the commentRequiredRegex property in ruleset files or by the moodleTodoCommentRegex configuration option in phpcs.xml files and CLI invocations. Setting them to empty string disables the Sniff completely.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps moodlehq/moodle-cs from 3.3.12 to 3.3.13.
Release notes
Sourced from moodlehq/moodle-cs's releases.
Changelog
Sourced from moodlehq/moodle-cs's changelog.
Commits
f4c5229
Prepare the v3.3.13 release2fd5234
Merge pull request #91 from stronk7/todo_commenting_sniff644bdd2
Add a new moodleTodoCommentRegex config option99f8940
Check TODO and@todo
comments looking for extra info95a21b7
Mini bump squizlabs/php_codesniffer to 3.8.15eaab4d
Merge pull request #89 from stronk7/lock_php_parser_v46eb7253
Lock nikic/php-parser v40cfc3d8
Merge pull request #86 from stronk7/move_always_to_cancelled66cf4ff
GHA: Move from always() to !cancelled()Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show