Skip to content

Make tests compatible with PHPUnit 8 #664

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants