Add PathItem field type stub#1007
Merged
Merged
Conversation
mglaman
approved these changes
Jul 15, 2026
mglaman
left a comment
Owner
There was a problem hiding this comment.
Verified locally: stub matches core PathItem property definitions, FieldTypesTest passes, follows existing stub conventions. Thanks!
mglaman
added a commit
that referenced
this pull request
Jul 15, 2026
* Add PathItem field type stub (#1007) (cherry picked from commit e41d454) * Run CI on 2.0.x maintenance branch (#1002) Pushes and pull requests against 2.0.x had no test coverage after the branch was cut from 2.0.17. Co-authored-by: Claude Fable 5 <noreply@anthropic.com> (cherry picked from commit 3cc6987) --------- Co-authored-by: onice <joyhuangyuyao@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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
PathItempropertiesalias,pid, andlangcodeinference in the shared field-type fixtureTesting
php vendor/bin/phpunit --no-coverage --filter=FieldTypesTestphp vendor/bin/phpunit --no-coveragephp vendor/bin/phpstan analyze --memory-limit=-1php vendor/bin/phpcscomposer validate --strict --no-check-publishphp -l stubs/Drupal/path/Plugin/Field/FieldType/PathItem.stubphp -l tests/src/Type/data/field-types.phpgit diff --check origin/main...HEADFixes #365