pawaclawczyk / SymfonyUpgradeHelper

This tool will helps you upgrade your Symfony2 project.
1 stars 0 forks source link

Symfony\Component\Security\Core\User\UserInterface::equals() has moved to Symfony\Component\Security\Core\User\EquatableInterface::isEqualTo(). #6

Open pawaclawczyk opened 10 years ago

pawaclawczyk commented 10 years ago
pawaclawczyk commented 10 years ago

UserEquatableInterfaceFixer - fixes occurance of method in classes directly extending UserInterface.

We should support here case when UserInterface is aliased in a use statement. Worth of thinking is approach to instantiate a class and check implementing of interface via instanceof.