Skip to content

Allow FormTypeExtensionInterface to be visited like FormTypeInterface - #192

Open
mgiraud wants to merge 1 commit into
php-translation:masterfrom
mgiraud:issue-191
Open

Allow FormTypeExtensionInterface to be visited like FormTypeInterface#192
mgiraud wants to merge 1 commit 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 🤔

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

1 participant