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

run tests using PHPUnit 11.5#58370

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

Open
xabbuh wants to merge3 commits intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromxabbuh:phpunit11-integration-tests

Conversation

xabbuh
Copy link
Member

@xabbuhxabbuh commentedSep 24, 2024
edited by derrabus
Loading

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?no
Issues
LicenseMIT

alexandre-daubois, derrabus, chalasr, and mtarld reacted with rocket emojiajgarlag and alexandre-daubois reacted with eyes emoji
@xabbuh
Copy link
MemberAuthor

The PR cannot be merged at the moment as it is based on a bunch of other open pull requests that are paving the way to be able to actually run the tests with PHPUnit 11.

@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 2 times, most recently from7178ae5 to76245c5CompareSeptember 24, 2024 07:31
@alexandre-daubois
Copy link
Member

This is super nice news! Did you already take care of everything required to be "PHPUnit 11 compliant" in already opened PRs ?

@xabbuh
Copy link
MemberAuthor

@alexandre-daubois The "ensure session storages are opened before destroying them" commit is the only one that is not already part of an open PR. I do not really understand yet why that change is necessary (the flow inAbstractSessionHandler is different asheaders_sent() returns a different result).

@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch from76245c5 to24d86e8CompareSeptember 24, 2024 11:18
nicolas-grekas added a commit that referenced this pull requestSep 25, 2024
This PR was merged into the 5.4 branch.Discussion----------Tweak error/exception handler registration| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#53812| License       | MITThis should allow removing the custom bootstrap file from#58370 /cc `@xabbuh`The change on FrameworkBundle leads to a tweaked behavior: we don't override the previous error handler in case it's not the Symfony one. This shouldn't change anything in practice since the error handler is already registered by the runtime component.The rest is closer to bug fixes.Commits-------af9c035 Tweak error/exception handler registration
@nicolas-grekas
Copy link
Member

We need a way to register DebugClassLoader, and maybe a few other things. Basically what we do in SymfonyTestsListenerTrait.

@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 2 times, most recently fromab2f604 toe56f932CompareSeptember 25, 2024 16:42
@xabbuhxabbuh changed the titlerun integration tests using PHPUnit 11[WIP] run integration tests using PHPUnit 11Sep 27, 2024
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch frome56f932 tobddc3f5CompareSeptember 27, 2024 11:30
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 5 times, most recently fromd72eadc toc89477aCompareOctober 10, 2024 06:49
@xabbuhxabbuh changed the title[WIP] run integration tests using PHPUnit 11run integration tests using PHPUnit 11Oct 10, 2024
@xabbuhxabbuh changed the titlerun integration tests using PHPUnit 11[WIP] run integration tests using PHPUnit 11Oct 10, 2024
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 3 times, most recently from70f5b92 to3e19ea6CompareApril 22, 2025 08:46
@xabbuh
Copy link
MemberAuthor

Tests are not actually running with PHPUnit 11.5:https://github.com/symfony/symfony/actions/runs/14563576793/job/40849847611?pr=58370#step:6:44

Isn't that related to how our CI is configured? I mean the previous commit that is checked out does not have the changes needed inphpunit to install PHPUnit 11.5.

@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 2 times, most recently from39cc605 toca642e4CompareApril 23, 2025 05:17
@@ -30,7 +30,7 @@
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/doctrine-messenger": "^6.4|^7.0",
"symfony/expression-language": "^6.4|^7.0",
"symfony/form": "^6.4.6|^7.0.6",
"symfony/form": "^7.2",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

because we need#58357

fabpot added a commit that referenced this pull requestApr 23, 2025
This PR was merged into the 7.3 branch.Discussion----------[Translation] drop support for nikic/php-parser 4| Q             | A| ------------- | ---| Branch?       | 7.3| Bug fix?      | no| New feature?  | no| Deprecations? | no| Issues        || License       | MITExtracted from#58370, background: PHPUnit 11 is no longer compatible with `nikic/php-parser` 4 (see#58370 (comment)).Commits-------2676ce9 drop support for nikic/php-parser 4
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 3 times, most recently from890b854 to8f0b304CompareApril 24, 2025 19:19
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 2 times, most recently fromcb7741d to84443c0CompareMay 8, 2025 13:25
xabbuh added a commit that referenced this pull requestMay 8, 2025
This PR was merged into the 6.4 branch.Discussion----------[FrameworkBundle] make data provider static| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Issues        || License       | MITspotted in#58370 (I missed this in#60365)Commits-------04a46d3 make data provider static
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 2 times, most recently fromcfa0923 to8a20f9fCompareMay 13, 2025 08:01
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch from8a20f9f to7296609CompareMay 26, 2025 06:06
@fabpotfabpot modified the milestones:7.3,7.4May 26, 2025
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch 3 times, most recently froma440ba5 to1063ab5CompareMay 30, 2025 22:15
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch from1063ab5 to5e4fdbaCompareJune 2, 2025 20:43
@xabbuhxabbuhforce-pushed thephpunit11-integration-tests branch from5e4fdba toae5c4c9CompareJune 3, 2025 06:22
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@staabmstaabmstaabm left review comments

@stofstofstof left review comments

@welcoMatticwelcoMatticAwaiting requested review from welcoMatticwelcoMattic is a code owner

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

@OskarStarkOskarStarkAwaiting requested review from OskarStarkOskarStark is a code owner

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@lyrixxlyrixxAwaiting requested review from lyrixxlyrixx is a code owner

@kbondkbondAwaiting requested review from kbondkbond is a code owner

@jderussejderusseAwaiting requested review from jderussejderusse is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
7.4
Development

Successfully merging this pull request may close these issues.

8 participants
@xabbuh@alexandre-daubois@nicolas-grekas@stof@staabm@chalasr@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp