Closed
Description
API Platform version(s) affected: 4.1.8
Description
We are automically updating our depedencies to the next patch releases with minimal changes. When doing this for api-platform/doctrine-orm to the current patch 4.1.8 we get the following error
!! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#4151
!! #message: """
!! Attempted to load trait "StateOptionsTrait" from namespace "ApiPlatform\State\Util".\n
!! Did you forget a "use" statement for another namespace?
!! """
!! #code: 0
!! #file: "./vendor/api-platform/doctrine-orm/State/LinksHandlerTrait.php"
!! #line: 28
!! }
That's because of the change in api-platform/doctrine-orm@9f6640d
How to reproduce
api-platform packages on 4.1.7 and execute composer update api-platform/doctrine-orm:4.1.8 --with-dependencies --minimal-changes
Possible Solution
require minimum api-platform/state:^4.1.8 for api-platform/doctrine-orm:4.1.8
Additional Context
Metadata
Metadata
Assignees
Labels
No labels