Skip to content

Preloading issues #97

Description

@oojacoboo

I'm unable to preload from opcache hits list due to the following 2 conflicts:

api-php         | Message: Cannot declare class Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain, because the name is already in use in /srv/www/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php:9 ErrorException called
api-php         | File: /srv/www/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php
api-php         | Message: Cannot declare class Doctrine\Common\Persistence\Mapping\RuntimeReflectionService, because the name is already in use in /srv/www/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php:9 ErrorException called
api-php         | File: /srv/www/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php

When looking at the MappingDriverChain, it looks like there is some BC work being done by creating a class alias. It looks really nasty to me, so I'm not surprised by this error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions