Skip to content

Nits: codespell typos in standard (bundled) extensions#5586

Merged
kamil-tekiela merged 4 commits into
php:masterfrom
lacatoire:fix/codespell-standard
May 28, 2026
Merged

Nits: codespell typos in standard (bundled) extensions#5586
kamil-tekiela merged 4 commits into
php:masterfrom
lacatoire:fix/codespell-standard

Conversation

@lacatoire
Copy link
Copy Markdown
Member

Ran codespell across documentation for extensions still bundled with php-src, and applied the suggestions (56 files, 112 lines). Scope intentionally limited to bundled extensions so the PR stays small and reviewable.

Happy to drop any file that conflicts with an in-flight PR. Cross-checked against currently open PRs and excluded in-array.xml to avoid overlap with #5519.

Run codespell across documentation for extensions still bundled with
php-src, and apply the suggestions. Scope deliberately limited to
extensions in our direct control, leaving PECL/third-party extensions
for a separate pass.
@lacatoire lacatoire requested a review from kamil-tekiela as a code owner May 28, 2026 08:00
Comment thread language/types/type-juggling.xml Outdated
Comment thread reference/image/functions/getimagesize.xml Outdated
…ing"

- type-juggling.xml: revert "convertable" -> "convertible" (both spellings
  are valid per @kamil-tekiela) and the related para -> simpara conversion
- getimagesize.xml: use "corresponding" instead of "correspondent"
Comment thread reference/intl/collator/set-strength.xml Outdated
Comment thread language-snippets.ent Outdated
- set-strength.xml: replace the broken textual reference
  "Ignoring Punctuation" with a real link to
  Collator::ALTERNATE_HANDLING, which documents the mechanism
  for ignoring punctuation during collation; this also removes
  the trailing space @kamil-tekiela pointed out
- language-snippets.ent: revert the gd.changlog.t1lib -> gd.changelog.t1lib
  rename since this entity is not referenced anywhere in the repo,
  so the codespell fix had no benefit
Copy link
Copy Markdown
Member

@kamil-tekiela kamil-tekiela left a comment

Choose a reason for hiding this comment

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

Could you please drop the reference/intl/collator/set-strength.xml file from this PR? I don't like the whole thing. The content is plagiarized from https://github.com/unicode-org/icu/blob/main/docs/userguide/collation/concepts.md and makes no sense with the missing bits. It's just putting lipstick on a pig. The whole documentation needs to be rewritten from scratch.

Per @kamil-tekiela's review, the file is plagiarized from ICU and needs
to be rewritten from scratch rather than patched here. Reverting it to
its current master state so this PR stays scoped to codespell fixes.
@kamil-tekiela kamil-tekiela merged commit 525aa5f into php:master May 28, 2026
2 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.

2 participants