Skip to content

[docs] Improve docs relating to documentation of overridden methods - #1747

Merged
paulholden merged 1 commit into
moodle:mainfrom
andrewnicols:improveOverrideDocs
Nov 5, 2026
Merged

paulholden merged 1 commit into
moodle:mainfrom
andrewnicols:improveOverrideDocs

Conversation

@andrewnicols

Copy link
Copy Markdown
Member

No description provided.

@andrewnicols
andrewnicols marked this pull request as ready for review November 5, 2026 14:52
Copilot AI lite review requested due to automatic review settings November 5, 2026 14:52
@netlify

netlify Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 2ba527b
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6aec9a7834b6d0799456d4c2
😎 Deploy Preview https://deploy-preview-1747--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain, and the documentation-only changes are scoped to clarifying guidance for documenting overridden methods.

No open issues 🎉

What changed in this PR

This pull request clarifies Moodle coding-style guidance for documenting methods that override parent classes, interfaces, or traits.

Changes:

  • Removes the previous tip admonition around overriding methods.
  • Clarifies the PHPCS behavior associated with #[\Override].
  • Emphasizes retaining useful, more-specific documentation on overriding methods.
  • Adds guidance against removing child documentation unnecessarily.
File Description
general/​development/​policies/​codingstyle/​index.md Refines documentation guidance and admonition text for overridden methods.

Review effort: Lite

@paulholden paulholden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wholeheartedly approve of this, thank you Andrew!

@paulholden
paulholden added this pull request to the merge queue Nov 5, 2026
Merged via the queue into moodle:main with commit 654f478 Nov 5, 2026
6 checks passed
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.

3 participants