Repository navigation
Conversation
Several 5.x changes need an entry in the update guide. Creating the file once keeps them from conflicting over its creation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Inflector is a thin wrapper around doctrine/inflector and was deprecated in 4.x. Remove it together with the doctrine/inflector suggestion and development dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Joomla\String\Inflectoris a thin wrapper arounddoctrine/inflectorand has been marked@deprecated 5.0. This PR removes the class and its tests, and dropsdoctrine/inflectorfromsuggestandrequire-dev.Testing Instructions
vendor/bin/phpunitpasses without the Inflector suite. phpcs is clean, and PHPStan reports no errors locally. The PHPStan job in CI fails on4.x-dev/5.x-devas well (mb_trimand the other PHP 8.4 polyfill functions are not found), and #66 fixes that on 4.x.composer update --dry-runremovesdoctrine/inflector.Documentation Changes Required
docs/v4-to-v5-update.md: a section on the removedInflector, with a table that maps each method to its doctrine/inflector equivalent, and a dependency note.The owner's docs PR #72 documents
Inflectoron 4.x ("Inflector— deprecated" indocs/overview.md). That section has to be dropped when 4.x-dev is merged into 5.x-dev.Depends on #84 (this branch is built on it, so its commit shows up here until #84 is merged) and on #83, which adds the 4.x deprecation notices. When 4.x-dev is merged up, the changes from #83 to
src/Inflector.phpandTests/InflectorTest.phphave to be resolved as deletions. #77 and #78 add entries tosuggestincomposer.jsonnext to the line this PR changes, so expect a small conflict there as well.🤖 Generated with Claude Code