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

Update phpunit/phpunit requirement from ^9.5 to ^10.3 #173

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2023

Updates the requirements on phpunit/phpunit to permit the latest version.

Changelog

Sourced from phpunit/phpunit's changelog.

10.3.0 - 2023-08-04

Added

  • #5368: Control when PHP's garbage collector is triggered
  • #5428: Attribute #[WithoutErrorHandler] to disable PHPUnit's error handler for a test method
  • #5431: Add more garbage collector details to event telemetry

Changed

  • Errors (E_USER_ERROR), deprecations (E_DEPRECATED, E_USER_DEPRECATED), notices (E_STRICT, E_NOTICE, E_USER_NOTICE), and warnings (E_WARNING, E_USER_WARNINGS) are now displayed grouped by issue
  • When a test case class inherits test methods from a parent class then, by default (when no test reordering is requested), the test methods from the class that is highest in the inheritance tree (instead of the class that is lowest in the inheritance tree) are now run first
  • Invocation count expectation failure messages have been slightly improved
  • When a test case class inherits test methods from a parent class then the TestDox output for such a test case class now starts with test methods from the class that is highest in the inheritance tree (instead of the class that is lowest in the inheritance tree)
  • TestCase::createStub(), TestCase::createStubForIntersectionOfInterfaces(), and TestCase::createConfiguredStub() are now static (and can be used from static data provider methods)
  • The internal methods __phpunit_*() have been removed from the Stub and MockObject interfaces

Fixed

  • #5456: Risky Test Check for Output Buffering is performed before after-test methods are called
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.3.0/ChangeLog-10.3.md)
- [Commits](sebastianbergmann/phpunit@9.5.0...10.3.0)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 4, 2023
@what-the-diff
Copy link

what-the-diff bot commented Aug 4, 2023

PR Summary

  • Update of phpunit/phpunit dependency
    The crucial tool for testing in PHP, phpunit/phpunit, was updated in our composer.json file. We've moved from version 9.5 to the more recent version 10.3. This will enhance the features and effectiveness of our testing process, thus leading to improved software quality.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2b68018) 88.01% compared to head (e02fec3) 88.01%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #173   +/-   ##
=========================================
  Coverage     88.01%   88.01%           
  Complexity      338      338           
=========================================
  Files            40       40           
  Lines           918      918           
=========================================
  Hits            808      808           
  Misses          110      110           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik
Copy link
Member

vjik commented Aug 4, 2023

@dependabot ignore this major version

@dependabot dependabot bot closed this Aug 4, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 4, 2023

OK, I won't notify you about version 10.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/composer/phpunit/phpunit-tw-10.3 branch August 4, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant