Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doctrine): Doctrine 3 ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener uses deprecated ClassUtils class. #6331

Conversation

wtfzdotnet
Copy link
Contributor

Q A
Branch? 3.2
Tickets N/A
License MIT
Doc PR N/A

Waiting for unit tests to pass again on 3.2 so I can test further, just parking it here to make the issue known.

Remove deprecated ClassUtils from the PurgeHttpListener for doctrine 3, still need to check with due diligence and update tests, but these are failing right now.

@wtfzdotnet wtfzdotnet changed the title Fix doctrine eventlistener purgehttpcache WIP - Doctrine 3 ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener uses deprecated ClassUtils class. Apr 22, 2024
@wtfzdotnet wtfzdotnet force-pushed the feature/fix-doctrine-eventlistener-purgehttpcache branch 2 times, most recently from 5c72f1d to c23d8ba Compare April 25, 2024 15:30
@wtfzdotnet
Copy link
Contributor Author

Can't for the life of me figure out why my local testsuite keeps failing at PHP Fatal error: Declaration of Doctrine\Bundle\MongoDBBundle\Form\DoctrineMongoDBTypeGuesser::guessType(string $class, string $property) must be compatible with Symfony\Component\Form\FormTypeGuesserInterface::guessType(string $class, string $property): ?Symfony\Component\Form\Guess\TypeGuess.

@wtfzdotnet wtfzdotnet changed the title WIP - Doctrine 3 ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener uses deprecated ClassUtils class. fix(doctrine): Doctrine 3 ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener uses deprecated ClassUtils class. Apr 25, 2024
@wtfzdotnet wtfzdotnet force-pushed the feature/fix-doctrine-eventlistener-purgehttpcache branch 3 times, most recently from 29280a3 to a1ab575 Compare April 25, 2024 15:38
…eListener for Doctrine ORM 3

Co-authored-by: Antoine Bluchet <soyuka@users.noreply.github.com>
@wtfzdotnet wtfzdotnet force-pushed the feature/fix-doctrine-eventlistener-purgehttpcache branch from a1ab575 to cb8a29e Compare April 25, 2024 15:41
@soyuka soyuka merged commit 9cd597f into api-platform:3.2 Apr 27, 2024
51 of 53 checks passed
@soyuka
Copy link
Member

soyuka commented Apr 27, 2024

thanks!

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.

None yet

2 participants