Skip to content

Allow FormTypeExtensionInterface to be visited like FormTypeInterface - #192

Merged
bocharsky-bw merged 3 commits into
php-translation:masterfrom
mgiraud:issue-191
Sep 11, 2026
Merged

Allow FormTypeExtensionInterface to be visited like FormTypeInterface#192
bocharsky-bw merged 3 commits into
php-translation:masterfrom
mgiraud:issue-191

Conversation

@mgiraud

@mgiraud mgiraud commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

closes #191
Allow classes implementing FormTypeExtensionInterface to be visited the same way that classesd implementing FormTypeInterface.

I've added a very basic tests and an early break in the loop.
When the lib is php >= 8.4 we can use array_find instead

…he same way that classesd implementing FormTypeInterface
@mgiraud

mgiraud commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

Not sure I undestand the failure. Somehow on php8.2 two usecases are not failing 🤔

@mgiraud

mgiraud commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

This should be reworked if #194 is merged by using FQN since symfony/form is dev-required

@bocharsky-bw

Copy link
Copy Markdown
Member

Hey @mgiraud thanks for working on it! FYI, I merged #194

@mgiraud

mgiraud commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

This one looks fine now 😄

@bocharsky-bw bocharsky-bw 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.

Looks good, thank you!

@bocharsky-bw
bocharsky-bw merged commit 516719e into php-translation:master Sep 11, 2026
6 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.

[SF] Visitor AbstractFormType should support FormTypeExtensions

2 participants