In a Flex application, `composer require doctrine/annotations` throws this error: >Attempted to call an undefined method named "registerLoader" of class "Doctrine\Common\Annotations\AnnotationRegistry" * [Reproducible test case](https://github.com/ScriptFUSION/Porter/blob/master/.github/workflows/Quickstart%20Symfony.yaml) * [Output](https://github.com/ScriptFUSION/Porter/actions/runs/3738051446/jobs/6347133717)