Add static analysis with phpstan #227
Annotations
4 errors
|
PHPStan
Process completed with exit code 1.
|
|
PHPStan:
src/Model/User.php#L198
Method FOS\UserBundle\Model\User::getUserIdentifier() should return non-empty-string but returns string.
|
|
PHPStan:
src/Model/User.php#L159
Method FOS\UserBundle\Model\User::serialize() never returns null so it can be removed from the return type.
|
|
PHPStan:
src/EventListener/FlashListener.php#L85
Method FOS\UserBundle\EventListener\FlashListener::getSession() should return Symfony\Component\HttpFoundation\Session\Session but returns Symfony\Component\HttpFoundation\Session\SessionInterface.
|