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

Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3)#38103

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:3.4fromderrabus:improvement/phpunit-8.5-9.3
Sep 14, 2020

Conversation

@derrabus
Copy link
Member

QA
Branch?3.4
Bug fix?yes/no
New feature?no
Deprecations?no
Tickets#37564
LicenseMIT
Doc PRN/A

Our test suite on the 3.4 branch should be compatible with more recent versions of PHPUnit now. In order to make sure that it stays that way, I'm proposing to bump PHPUnit to 8.5 for the php 7.2 job and 9.3 for the php 7.3 and 7.4 jobs.

nicolas-grekas reacted with thumbs up emoji
@derrabus
Copy link
MemberAuthor

Regarding the CI failure: The PhpDoc-Parser of PHPUnit 9.3 breaks when being called on a internal class. I'll look into this. Either we work around this problem in PhpUnitBridge or I submit a fix to PHPUnit.

@derrabusderrabus marked this pull request as draftSeptember 7, 2020 22:07
@sanmai
Copy link
Contributor

#38094 might be related.

derrabus reacted with thumbs up emoji

@derrabus
Copy link
MemberAuthor

PHPUnit won't ship a fix (seesebastianbergmann/phpunit#4448), so I'm going for the workaround now.

@nicolas-grekasnicolas-grekas added this to the3.4 milestoneSep 8, 2020
@derrabusderrabusforce-pushed theimprovement/phpunit-8.5-9.3 branch 3 times, most recently from8ac37db to9af37ecCompareSeptember 11, 2020 21:22
fabpot added a commit that referenced this pull requestSep 13, 2020
This PR was submitted for the master branch but it was merged into the 4.4 branch instead.Discussion----------[PhpUnitBridge] Internal classes are not legacy| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |#37564| License       | MIT| Doc PR        | N/AThis change works around the issue that we can observe in the failed Travis build of#38103.We must not call PHPUnit's internal `Test::getGroups()` method with a built-in class, otherwise we will run into a TypeError. This won't be fixed on PHPUnit's side, so we need to prevent that call. Our DeprecationErrorHander might run into this case if a deprecation is triggered while autoloading a class.And forgive me, I've had a really hard time trying to craft a test case for that. 🙈Commits-------7d55e0c Internal classes are not legacy.
@derrabusderrabusforce-pushed theimprovement/phpunit-8.5-9.3 branch from9af37ec toff47516CompareSeptember 14, 2020 06:11
@derrabusderrabus marked this pull request as ready for reviewSeptember 14, 2020 07:09
@derrabus
Copy link
MemberAuthor

We're green! 🎉

sanmai reacted with hooray emoji

@fabpot
Copy link
Member

Thank you@derrabus.

@fabpotfabpot merged commited3ab52 intosymfony:3.4Sep 14, 2020
@derrabusderrabus deleted the improvement/phpunit-8.5-9.3 branchSeptember 14, 2020 07:45
fabpot added a commit that referenced this pull requestSep 17, 2020
…errabus)This PR was merged into the 4.4 branch.Discussion----------Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3)| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       |#37564| License       | MIT| Doc PR        | N/AThis is#38103 on the 4.4 branch.Commits-------73647e5 Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3).
fabpot added a commit that referenced this pull requestSep 29, 2020
… Clouet)This PR was squashed before being merged into the 5.2-dev branch.Discussion----------[Validator] Add Ulid constraint and validator| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#38152| License       | MITULID constraint and validator as mentioned in ticket#38103I checked for it ulid specificationshttps://github.com/ulid/specCommits-------e36fd55 [Validator] Add Ulid constraint and validator
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@derrabus@sanmai@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp