I get the following error when I try to reach app/example on symfony demo
Error: The Symfony\\Component\\Security\\Core\\SecurityContext class is deprec
It's not a proper error, just a warning.
A deprecated class is a class that is planned to be removed in future releases (of Symfony, in this case).
It suggest you to stop using it, and points you to the newer (and substitutes) class, TokenStorage
and AuthorizationChecker
, that will take completly over to do the same tasks.