Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 13, 2020

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tickets
License MIT
Doc PR

This pull requests should fix a php warning when opcache preload is active:

PHP Warning:  Can't preload unlinked class class@anonymous: Unknown parent ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\AbstractPaginator in /app/vendor/api-platform/core/src/Bridge/Doctrine/Orm/Extension/PaginationExtension.php on line 178

This fix uses the solution of symfony/symfony#38533.

Copy link
Member

@alanpoulain alanpoulain left a comment

Choose a reason for hiding this comment

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

LGTM

@dunglas dunglas merged commit 29cd84b into api-platform:2.5 Dec 10, 2020
@dunglas
Copy link
Member

dunglas commented Dec 10, 2020

Thanks @optior

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