You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to mock an instance of Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken which, since Symfony 4.3 requires an array as a parameter for its unserialize method. commit
When running phpspec I get the following message:
PHP Fatal error: Declaration of Double\Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken\P711::__unserialize() must be compatible with Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken::__unserialize(array $data): void in /var/www/html/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(49) : eval()'d code on line 2
The text was updated successfully, but these errors were encountered:
I am trying to mock an instance of
Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken
which, since Symfony 4.3 requires anarray
as a parameter for its unserialize method. commitWhen running
phpspec
I get the following message:The text was updated successfully, but these errors were encountered: