-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] Add more tests for StringUtils::equals #11808
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
Conversation
Can you use a dataprovider instead of multiples asserts? |
👍 |
36d42e6
to
f9c08a3
Compare
@fabpot The use of the short array notation (introduced in PHP 5.4) is a bug in fabbot? |
@dunglas Symfony should be compatible with php 5.3 |
@jeremy-derusse yes I know, I'm talking about the error reported by fabbot: http://fabbot.io/report/symfony/symfony/11808/f9c08a32747428212be3f10a4deccf00815fd017 |
@dunglas I've just removed the check for the short array syntax. The report is more relevant now. |
f9c08a3
to
a676863
Compare
@fabpot thanks. CS fixed. |
👍 |
1 similar comment
👍 |
Thank you @dunglas. |
This PR was merged into the 2.4 branch. Discussion ---------- [Security] Add more tests for StringUtils::equals | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a More tests for `StringUtils::equals`. Commits ------- a676863 [Security] Add more tests for StringUtils::equals
reverting as not all those tests actually pass. |
* 2.4: Revert "minor #11808 [Security] Add more tests for StringUtils::equals (dunglas)"
* 2.5: Revert "minor #11808 [Security] Add more tests for StringUtils::equals (dunglas)"
More tests for
StringUtils::equals
.