Skip to content

Commit

Permalink
Fill in links for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Jun 9, 2024
1 parent ff717e3 commit eff4513
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mapping/Driver/AbstractAnnotationDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function setAnnotationReader($reader)
if ($reader instanceof Reader) {
Deprecation::trigger(
'gedmo/doctrine-extensions',
'TODO',
'https://github.com/doctrine-extensions/DoctrineExtensions/pull/2772',
'Annotations support is deprecated, migrate your application to use attributes and pass an instance of %s to the %s() method instead.',
AttributeReader::class,
__METHOD__
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/ExtensionMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function __construct(ObjectManager $objectManager, string $extensionNames
if ($annotationReader instanceof Reader) {
Deprecation::trigger(
'gedmo/doctrine-extensions',
'TODO',
'https://github.com/doctrine-extensions/DoctrineExtensions/pull/2772',
'Annotations support is deprecated, migrate your application to use attributes and pass an instance of %s to the %s constructor instead.',
AttributeReader::class,
static::class
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/MappedEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function setAnnotationReader($reader)
if ($reader instanceof Reader) {
Deprecation::trigger(
'gedmo/doctrine-extensions',
'TODO',
'https://github.com/doctrine-extensions/DoctrineExtensions/pull/2772',
'Annotations support is deprecated, migrate your application to use attributes and pass an instance of %s to the %s() method instead.',
AttributeReader::class,
__METHOD__
Expand Down

0 comments on commit eff4513

Please sign in to comment.