Skip to content

Commit

Permalink
3.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Dec 3, 2023
1 parent 1b31c3a commit 3b5b5cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ a release.
---

## [Unreleased]

## [3.14.0]
### Added
- Support for Symfony 7
- Tree: Added `@template` and `@template-extends` annotations to the Tree repositories

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/DoctrineExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class DoctrineExtensions
/**
* Current version of extensions
*/
public const VERSION = '3.13.0';
public const VERSION = '3.14.0';

/**
* Hooks all extension metadata mapping drivers into
Expand Down
4 changes: 2 additions & 2 deletions src/Mapping/Event/Adapter/ORM.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function getObjectManager()
}

@trigger_error(sprintf(
'Calling "%s()" on event args of class "%s" that does not implement "getObjectManager()" is deprecated since gedmo/doctrine-extensions 3.x'
'Calling "%s()" on event args of class "%s" that does not implement "getObjectManager()" is deprecated since gedmo/doctrine-extensions 3.14'
.' and will throw a "%s" error in version 4.0.',
__METHOD__,
get_class($this->args),
Expand All @@ -121,7 +121,7 @@ public function getObject(): object
}

@trigger_error(sprintf(
'Calling "%s()" on event args of class "%s" that does not imeplement "getObject()" is deprecated since gedmo/doctrine-extensions 3.x'
'Calling "%s()" on event args of class "%s" that does not imeplement "getObject()" is deprecated since gedmo/doctrine-extensions 3.14'
.' and will throw a "%s" error in version 4.0.',
__METHOD__,
get_class($this->args),
Expand Down
4 changes: 2 additions & 2 deletions src/Uploadable/Event/UploadableBaseEventArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getListener()
public function getEntityManager()
{
@trigger_error(sprintf(
'"%s()" is deprecated since gedmo/doctrine-extensions 3.x and will be removed in version 4.0.',
'"%s()" is deprecated since gedmo/doctrine-extensions 3.14 and will be removed in version 4.0.',
__METHOD__
), E_USER_DEPRECATED);

Expand All @@ -118,7 +118,7 @@ public function getObjectManager()
public function getEntity()
{
@trigger_error(sprintf(
'"%s()" is deprecated since gedmo/doctrine-extensions 3.x and will be removed in version 4.0.',
'"%s()" is deprecated since gedmo/doctrine-extensions 3.14 and will be removed in version 4.0.',
__METHOD__
), E_USER_DEPRECATED);

Expand Down

0 comments on commit 3b5b5cb

Please sign in to comment.