Skip to content
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

PHPUnit 10.5.9 #6266

Merged
merged 2 commits into from
Jan 25, 2024
Merged

PHPUnit 10.5.9 #6266

merged 2 commits into from
Jan 25, 2024

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jan 20, 2024

This PR upgrades PHPUnit to 10.5.9.

Apparently, the build is broken by a couple of warnings that PHPUnit collected. I've pushed a commit that makes them visible. We should investigate those warnings.

Warnings have been addressed.

@derrabus derrabus added this to the 4.0.0-RC2 milestone Jan 20, 2024
@derrabus derrabus marked this pull request as draft January 21, 2024 08:22
@derrabus derrabus changed the title PHPUnit 10.5.8 PHPUnit 10.5.9 Jan 22, 2024
@derrabus derrabus marked this pull request as ready for review January 25, 2024 21:24
@derrabus derrabus requested a review from greg0ire January 25, 2024 21:24
@derrabus
Copy link
Member Author

The AppVeyor failure is unrelated and will be resolved once 3.8.x is merged up.

@@ -84,7 +84,7 @@ jobs:
if: "${{ matrix.extension == 'sqlite3' }}"

- name: "Run PHPUnit"
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml --coverage-clover=coverage.xml"
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml --coverage-clover=coverage.xml --display-warnings"
Copy link
Member

@greg0ire greg0ire Jan 25, 2024

Choose a reason for hiding this comment

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

Is this equivalent to setting displayDetailsOnTestsThatTriggerNotices to true in our configuration files? I'm asking because if it is, then we might want to do that inside phpunit.xml so that there isn't a situation where contributors start to think they need to push to Github to get details about a warning. Also, I'm noticing that similar settings exist for notices, errors and deprecations. Shouldn't we turn them on as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know. I could also revert the commit that adds this option. I needed it to debug the warnings, but they're fixed now.

Copy link
Member

Choose a reason for hiding this comment

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

Dropping that commit sounds good as well 👍
We can think about configuration more globally in a separate issue.

@derrabus derrabus merged commit d2aed19 into doctrine:4.0.x Jan 25, 2024
72 of 73 checks passed
@derrabus derrabus deleted the bump/phpunit branch January 25, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants