Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[String] We cannot have a "provides" function in test cases#37770

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:5.1fromderrabus:bugfix/phpunit-provides
Aug 8, 2020

Conversation

@derrabus
Copy link
Member

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsPart of#37564
LicenseMIT
Doc PRN/A

Because of a change in PHPUnit 9.3 (seesebastianbergmann/phpunit#3936), we cannot have define a method namedprovides in test cases. And since php is case-insensitive regarding method calls, the methodprovideS used by the String component'sFunctionTest will cause a fatal error. I have renamed it to work around that issue.

cc@fancyweb

fancyweb reacted with thumbs up emoji
@derrabus
Copy link
MemberAuthor

Should I fix the fabbot error or is this a false positive?

@fabpot
Copy link
Member

Thank you@derrabus.

@fabpotfabpot merged commita8ea11b intosymfony:5.1Aug 8, 2020
@derrabusderrabus deleted the bugfix/phpunit-provides branchAugust 8, 2020 14:30
@fabpotfabpot mentioned this pull requestAug 31, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@derrabus@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp