Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A critical interface method was just removed in 5.3.0 #41470

Copy link
Copy link
Closed
@dereuromark

Description

@dereuromark
Issue body actions

Symfony version(s) affected: 5.3.0

Description
Regression in minor release.
symfony/security-core@v5.2.8...v5.3.0
A critical interface method was just removed instead of normal deprecation workflow and removal in next major.

How to reproduce
Implement UserInterface on vendor or project level, code against interface and now find yourself missing this contract (to be sure that method is available and implemented properly.

Possible Solution
Keep it in with deprecation only or add this method as soft annotation at least (as implementing code cannot do that post-factum now for the vendor interface).

Additional context

 ------ ------------------------------------------------------------------------
  Line   SprykerShop/Yves/CustomerPage/Plugin/Provider/CustomerUserProvider.php
 ------ ------------------------------------------------------------------------
  58     Call to an undefined method
         Symfony\Component\Security\Core\User\UserInterface::getUsername().
  115    Call to an undefined method
         Symfony\Component\Security\Core\User\UserInterface::getUsername().
 ------ ------------------------------------------------------------------------

The same seems to be true for Authentication/RememberMe/PersistentTokenInterface.php class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.