-
-
Notifications
You must be signed in to change notification settings - Fork 454
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: php drivers namespace #1794
Conversation
config/orm.xml
Outdated
@@ -33,8 +33,8 @@ | |||
<parameter key="doctrine.orm.metadata.annotation.class">Doctrine\ORM\Mapping\Driver\AnnotationDriver</parameter> | |||
<parameter key="doctrine.orm.metadata.xml.class">Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver</parameter> | |||
<parameter key="doctrine.orm.metadata.yml.class">Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver</parameter> | |||
<parameter key="doctrine.orm.metadata.php.class">Doctrine\ORM\Mapping\Driver\PHPDriver</parameter> | |||
<parameter key="doctrine.orm.metadata.staticphp.class">Doctrine\ORM\Mapping\Driver\StaticPHPDriver</parameter> | |||
<parameter key="doctrine.orm.metadata.php.class">Doctrine\ORM\Persistence\Driver\PHPDriver</parameter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be
<parameter key="doctrine.orm.metadata.php.class">Doctrine\ORM\Persistence\Driver\PHPDriver</parameter> | |
<parameter key="doctrine.orm.metadata.php.class">Doctrine\Persistence\Mapping\Driver\PHPDriver</parameter> |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems correct according to the upgrade documentation https://github.com/doctrine/orm/blob/3.1.x/UPGRADE.md#metadata-drivers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually you're right I made a typo nice catch! I did it well for StaticPHPDriver not for PHPDriver ✅
update PHPDriver and StaticPHPDriver namespace to Doctrine/Persistence
Dupe of #1755 |
update PHPDriver and StaticPHPDriver namespace to Doctrine/Persistence.
Related to issue #1793