Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Support for phpunit 7 #322

Merged
merged 2 commits into from
Jul 24, 2018
Merged

Conversation

snapshotpl
Copy link
Contributor

No description provided.

{
$content = $this->getFileContents();
$this->assertSame($content, $test, $message);
$this->assertSame($content, $test);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were the changes above made? assertSame() still allows providing a third $message argument...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but in phpunit 7 is typed as string and null is not allowed anymore

@weierophinney weierophinney merged commit 9320c11 into zendframework:master Jul 24, 2018
weierophinney added a commit that referenced this pull request Jul 24, 2018
weierophinney added a commit that referenced this pull request Jul 24, 2018
weierophinney added a commit that referenced this pull request Jul 24, 2018
@weierophinney
Copy link
Member

Thanks, @snapshotpl!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants