Skip to content

Conversation

@weaverryan
Copy link
Member

Q A
Bug fix? yes
New feature? no
Tickets None
License MIT

See: https://github.com/symfony/ux/pull/797/files#r1170531531

if (!method_exists($autocompleter, 'getGroupBy')) {
trigger_deprecation('symfony/ux-autocomplete', '2.8', 'Not implementing the "EntityAutocompleterInterface::getGroupBy()" in "%s" is deprecated.', get_debug_type($autocompleter));
} elseif (null === $groupBy = $autocompleter->getGroupBy()) {
if (null === $groupBy = $autocompleter->getGroupBy()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Still requires a method_exists() call, doesn't it?

Copy link
Member Author

Choose a reason for hiding this comment

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

lol, duh

@weaverryan weaverryan force-pushed the remove-excess-deprecation branch from b80893c to 1f79a71 Compare April 20, 2023 15:55
@weaverryan weaverryan force-pushed the remove-excess-deprecation branch from 1f79a71 to e250a68 Compare April 24, 2023 18:32
@weaverryan weaverryan merged commit 5cf391d into symfony:2.x Apr 24, 2023
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