-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
In case com.intellij.ml.llm plugin installed and the Moodle framework is enabled set the following:
-
Update "Write Documentation > PHP" to
According to the instruction in https://moodledev.io/general/development/policies/codingstyle#documentation-and-comments
Write PHPDoc.
Add @cover of the relevant tested class and functions only in unittests -
Update "Buit-In Actions > Commit Message generatoin " to
Make commit according to https://moodledev.io/general/development/policies/codingstyle#git-commits
Format your commit messages following this structure:
<$GIT_BRANCH_NAME> <code_area>: <short_summary>
<detailed_explanation>
Guidelines:
- First line should be no more than 72 characters
- Use imperative form for summary (e.g., "Add" not "Added")
- Leave blank line after summary
- Keep detailed explanation to 2-3 sentences
- Include motivation and contrast with previous behavior
Example:
issue7685 mod_quiz: Add time extension support for quiz attempts
Implements ability to grant individual students extra time for quiz attempts.
This change allows teachers to accommodate students needing special arrangements
while maintaining the standard time limits for others.
Important Notes:
- For submodule commits, use the submodule's branch name
- Code area should be human-readable (e.g., 'gradebook' vs 'local_hujigradebook')
- Avoid including multiple unrelated changes
- Don't document the development process, only the final result
General Practices
- Keep PRs focused and manageable
- Update documentation with changes
- Follow branching strategy