doctrine / doctrine/persistence
Preloading issues
- Dominant language
- PHP
- Stars
- 4k
- Forks
- 76
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.