-
-
Notifications
You must be signed in to change notification settings - Fork 91
Fix docs typos #227
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
base: master
Are you sure you want to change the base?
Fix docs typos #227
Conversation
WalkthroughThis update addresses minor textual corrections across documentation and code comments. It fixes typographical errors and formatting in the SECURITY.md file, a markdown documentation file, and PHP docblocks and comments. No changes to functional code or public interfaces are included. Changes
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @voku, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request focuses on improving the accuracy and readability of the project's documentation and inline code comments by fixing various typos and minor formatting issues.
Highlights
- Documentation Fixes: Corrected typos and improved clarity in the
SECURITY.mdfile and the main documentation base file (build/docs/base.md). - Code Comment Improvements: Fixed typos and clarified phrasing in various phpdoc comments within the main
UTF8.phpclass file.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
SECURITY.md (1)
14-14: Consider simplifying phrasing
The phrase "prior to" could be shortened to "before" to improve readability.🧰 Tools
🪛 LanguageTool
[style] ~14-~14: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...ulnerabilities Portable UTF-8 versions prior to 5.4.26 (released 2019-11-05) have an op...(EN_WORDINESS_PREMIUM_PRIOR_TO)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
SECURITY.md(1 hunks)build/docs/base.md(1 hunks)src/voku/helper/UTF8.php(4 hunks)
🧰 Additional context used
🪛 LanguageTool
SECURITY.md
[style] ~14-~14: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...ulnerabilities Portable UTF-8 versions prior to 5.4.26 (released 2019-11-05) have an op...
(EN_WORDINESS_PREMIUM_PRIOR_TO)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Codacy Static Code Analysis
🔇 Additional comments (6)
SECURITY.md (1)
14-14: Correct article use and fix spelling
The change accurately replaces "a unsecure" with "an insecure" and corrects "implentation" to "implementation".🧰 Tools
🪛 LanguageTool
[style] ~14-~14: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...ulnerabilities Portable UTF-8 versions prior to 5.4.26 (released 2019-11-05) have an op...(EN_WORDINESS_PREMIUM_PRIOR_TO)
build/docs/base.md (1)
98-98: Fix markdown header formatting
Removing the empty link syntax cleans up the header and ensures it renders correctly as "## Why Portable UTF-8?".src/voku/helper/UTF8.php (4)
1111-1111: Fix misspelling 'copy&past' to 'copy&paste'.
Corrects the typo in the docblock source attribution.
3089-3089: Wrap function name in backticks for clarity.
Using inline code formatting aroundUTF8::htmlspecialchars()improves readability in the docblock.
5306-5306: Fix misspelling 'copy&past' to 'copy&paste'.
Aligns with the Drupal origin URL attribution and other typo fixes.
13366-13366: Document the newly introduced$str_add_onparameter.
The docblock now matches the added function parameter—please verify the method signature includes$str_add_onin this position.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request addresses typos and improves documentation clarity across several files.



Summary
html_escapephpdocTesting
./vendor/bin/phpunithttps://chatgpt.com/codex/tasks/task_e_684d4b7223e0832296595a30763ba17e
This change is
Summary by CodeRabbit