Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests compatible with PHPUnit 8 #664

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

GKFX
Copy link
Contributor

@GKFX GKFX commented Oct 6, 2020

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.

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.
@deguif deguif merged commit 0a877e4 into FriendsOfSymfony:master Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants