Skip to content

Allow PHPUnit 13#112

Merged
greg0ire merged 2 commits intodoctrine:1.1.xfrom
Jean85:patch-1
Feb 7, 2026
Merged

Allow PHPUnit 13#112
greg0ire merged 2 commits intodoctrine:1.1.xfrom
Jean85:patch-1

Conversation

@Jean85
Copy link
Copy Markdown
Contributor

@Jean85 Jean85 commented Feb 6, 2026

Closes #113

@Jean85 Jean85 marked this pull request as ready for review February 6, 2026 08:45
@Jean85
Copy link
Copy Markdown
Contributor Author

Jean85 commented Feb 6, 2026

@greg0ire can you approve this? I run the tests locally and it seems to work flawlessly, without any further modifications.

@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Feb 6, 2026

It seems there are CI jobs failing. Please take a look at this guide for more on how to handle those.

@Jean85
Copy link
Copy Markdown
Contributor Author

Jean85 commented Feb 6, 2026

The PHPStan failure highlighted an issue in a test, where a stub was used instead of a mock. PHPUnit 13 uses stricter types to report this kind of failure, as explained by Sebastian himself in https://phpunit.expert/articles/the-stub-mock-intervention.html

Fixed in 668536e, please approve the CI run

@Jean85 Jean85 requested a review from greg0ire February 6, 2026 21:48
@greg0ire greg0ire added this to the 1.1.6 milestone Feb 7, 2026
@greg0ire greg0ire merged commit d4fe3e6 into doctrine:1.1.x Feb 7, 2026
17 checks passed
@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Feb 7, 2026

Thanks @Jean85 , released as https://github.com/doctrine/deprecations/releases/tag/1.1.6

@Jean85 Jean85 deleted the patch-1 branch February 7, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please allow PHPUnit 13

4 participants