Skip to content

Fix typos and grammars in language-snippets.ent - #5905

Merged
kamil-tekiela merged 1 commit into
php:masterfrom
peter279k:fix-typos-grammars-repo-root
Oct 2, 2026
Merged

kamil-tekiela merged 1 commit into
php:masterfrom
peter279k:fix-typos-grammars-repo-root

Conversation

@peter279k

@peter279k peter279k commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Changed log

  • Fixing typos and grammars. Such as an, gearman, correspond and so on.
  • This PR has been resolved via the DocBook linter.

Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
@peter279k
peter279k force-pushed the fix-typos-grammars-repo-root branch 2 times, most recently from 532816b to de0a32a Compare October 2, 2026 18:06
Comment thread language-snippets.ent Outdated
<simpara>
This method does not throw any exceptions by default.
To enable throwing an SNMPException exception when some of library errors occur
To enable throwing an SNMPException exception when some library errors occur

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.

Suggested change
To enable throwing an SNMPException exception when some library errors occur
To enable throwing an <exceptionname>SNMPException</exceptionname> exception when some library errors occur

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.

Actually, could you revert this change too, please?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've reverted this. But I just notice that the SNMP will be in the doc-en after looking at the php/doc-extensions#12.

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.

Don't worry. 6612b62

Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
@peter279k
peter279k force-pushed the fix-typos-grammars-repo-root branch from de0a32a to 13b0d5e Compare October 2, 2026 18:55
Comment thread language-snippets.ent Outdated
@peter279k
peter279k force-pushed the fix-typos-grammars-repo-root branch from 13b0d5e to 4c5fdf1 Compare October 2, 2026 19:05

@kamil-tekiela kamil-tekiela 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.

Thank you.

@kamil-tekiela
kamil-tekiela merged commit 7b7d43f into php:master Oct 2, 2026
3 checks passed
KentarouTakeda added a commit to php/doc-ja that referenced this pull request Oct 4, 2026
language-snippets.ent を原文の変更に追従しました。

原文では次の変更がありました。

- printf 系の関数の changelog に、PHP 8.5.0 で精度を指定しないフォーマッタの扱いが修正されたことが追記されました(php/doc-en@f59091f、php/doc-en#5868)
- SNMP クラスのメソッドの「エラー / 例外」節が書き直され、`SNMP::$exceptions_enabled` のビットマスクに含まれる種類のライブラリエラーでは `SNMPException` をスローし、それ以外では `E_WARNING` を発生させると明記されました(php/doc-en@6612b62、php/doc-en#5907)
- typo と文法が修正されました(php/doc-en@7b7d43f、php/doc-en#5905)。changelog で例外クラス名を囲むタグが `<classname>` から `<exceptionname>` に変わっています

## 対象ファイル

language-snippets.ent (1)
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.

2 participants