minor #5642 Deprecate parameter of Token::toJson() (keradus)
minor #5642 Deprecate parameter of Token::toJson() (keradus)

This PR was merged into the 2.19-dev branch.

Discussion
----------

Deprecate parameter of Token::toJson()

Commits
-------

4566a26d9 Deprecate parameter of Token::toJson()

kubawerlos/PHP-CS-Fixer,SpacePossum/PHP-CS-Fixer,gharlan/PHP-CS-Fixer,keradus/PHP-CS-Fixer,FriendsOfPHP/PHP-CS-Fixer,Slamdunk/PHP-CS-Fixer,SpacePossum/PHP-CS-Fixer,Slamdunk/PHP-CS-Fixer,keradus/PHP-CS-Fixer,gharlan/PHP-CS-Fixer,kubawerlos/PHP-CS-Fixer,FriendsOfPHP/PHP-CS-Fixer