Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Feb 19, 2020

Q A
Branch? 3.4
Bug fix? no
New feature? no
Deprecations? no
Tickets #35762 (comment)
License MIT
Doc PR N/A

Using assertSame instead of assertEquals is recommended when possible (see sebastianbergmann/phpunit-documentation-english#3). It is stricter and must be more efficient (=== vs a comparator class).

Also, removing useless string cast.

@GromNaN GromNaN requested a review from Tobion February 20, 2020 08:21
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Feb 20, 2020
@nicolas-grekas
Copy link
Member

Thank you @GromNaN.

@nicolas-grekas nicolas-grekas merged commit 7b1e4ea into symfony:3.4 Feb 20, 2020
@GromNaN GromNaN deleted the fix/3.4/test-style branch February 20, 2020 14:20
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.

4 participants