From 524b2cbb845feecee4e226975ab40fb3e67f2c71 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Tue, 12 Feb 2019 07:16:04 +0100 Subject: [PATCH] Clarify deprecation block for same-namespace resolution --- UPGRADE-1.3.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/UPGRADE-1.3.md b/UPGRADE-1.3.md index 22cc897366..59d891ab90 100644 --- a/UPGRADE-1.3.md +++ b/UPGRADE-1.3.md @@ -28,8 +28,8 @@ instead of mapping them with `field`. With same-namespace resolution, the metadata driver would look for a class of that name in the same namespace if the given class name didn't contain a -namespace separator (`\`). This has been deprecated and will be dropped instead. -Use fully qualified class names or the `::class` constant instead: +namespace separator (`\`). This has been deprecated and will be dropped. Use +fully qualified class names or the `::class` constant instead: ```php /** @@ -44,6 +44,10 @@ class User } ``` +This affects the `repositoryClass` attribute in documents, `targetDocument` in +references and embedded relationships as well as class names in discriminator +maps. + ### `ClassMetadataInfo` class deprecated The `Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo` class has been deprecated