FriendsOfSymfony / FOSOAuthServerBundle

A server side OAuth2 Bundle for Symfony
1.09k stars 451 forks source link

Make tests compatible with PHPUnit 8 #664

Closed GKFX closed 3 years ago

GKFX commented 3 years ago

This commit was carried out by the command:

sed -i '
s/function test[A-Za-z0-9]*(.*)$/\0: void/
s/function setUp()$/\0: void/
s/PHPUnit_Framework_MockObject_MockObject/PHPUnit\\Framework\\MockObject\\MockObject/
' $(find Tests/ -type f)

alone so should be fairly straightforward to review. (Rough) subset of #663 as requested there.