Skip to content

Commit

Permalink
Merge pull request #3024 from stof/fix_more_deprecation
Browse files Browse the repository at this point in the history
Fix a deprecation about groups being triggered when loading ORM metadata
  • Loading branch information
stof committed Sep 8, 2021
2 parents dcc2ec6 + be2d262 commit 813161b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
@@ -1,6 +1,10 @@
Changelog
=========

### 2.2.2 (2021-09-08)

* Fixed a deprecation warning about groups being triggered when loading all Doctrine metadata.

### 2.2.1 (2021-09-08)

* Fixed a deprecation warning about groups being triggered when loading the User class of the bundle.
Expand Down
4 changes: 1 addition & 3 deletions Model/Group.php
Expand Up @@ -11,12 +11,10 @@

namespace FOS\UserBundle\Model;

@trigger_error('Using Groups is deprecated since version 2.2 and will be removed in 3.0.', E_USER_DEPRECATED);

/**
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*
* @deprecated
* @deprecated Using Groups is deprecated since version 2.2 and will be removed in 3.0.
*/
abstract class Group implements GroupInterface
{
Expand Down

0 comments on commit 813161b

Please sign in to comment.