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.2 #609

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 5, 2023

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

Changelog

Sourced from phpunit/phpunit's changelog.

10.2.0 - 2023-06-02

Added

  • #5328: Optionally ignore suppression of deprecations, notices, and warnings
  • PHPUnit\Event\Test\DataProviderMethodCalled and PHPUnit\Event\Test\DataProviderMethodFinished events

Changed

  • Improved the reporting of errors during the loading and bootstrapping of test runner extensions

Deprecated

  • PHPUnit\TextUI\Configuration\Configuration::restrictDeprecations() (use source()->restrictDeprecations() instead)
  • PHPUnit\TextUI\Configuration\Configuration::restrictNotices() (use source()->restrictNotices() instead)
  • PHPUnit\TextUI\Configuration\Configuration::restrictWarnings() (use source()->restrictWarnings() instead)

Fixed

  • #5364: Confusing warning message Class ... cannot be found when class is found, but does not extend PHPUnit\Framework\TestCase
  • #5366: PHPUnit\Event\TestSuite\Loaded event has incomplete PHPUnit\Event\TestSuite\TestSuite value object
  • Always use X.Y.Z version number (and not just X.Y) of PHPUnit's version when checking whether a PHAR-distributed extension is compatible
Commits
  • 3aad97f Prepare release
  • f7b6a5d Improve the reporting of errors during the loading and bootstrapping of test ...
  • 23f779f Merge branch '9.6' into 10.2
  • 70e8497 Update ChangeLog
  • 6bcf520 Update ChangeLog
  • 7b22e98 Merge branch '10.1'
  • 634cd30 Merge branch '9.6' into 10.1
  • 284eedd Use Version::id() instead of Version::series() to check extension compatibility
  • e9e6afb Merge branch '10.1'
  • fb20bac Merge branch '9.6' into 10.1
  • Additional commits viewable in compare view

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.2.0/ChangeLog-10.2.md)
- [Commits](sebastianbergmann/phpunit@9.5.0...10.2.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 Jun 5, 2023
@what-the-diff
Copy link

what-the-diff bot commented Jun 5, 2023

PR Summary

  • Updated phpunit version
    Upgraded from phpunit 9.5 to 10.2, improving testing capabilities and staying up-to-date with the latest version.

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Patch coverage has no change and project coverage change: -82.22 ⚠️

Comparison is base (ebf6636) 94.29% compared to head (2c9ed89) 12.07%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master     #609       +/-   ##
=============================================
- Coverage     94.29%   12.07%   -82.22%     
  Complexity      746      746               
=============================================
  Files            88       88               
  Lines          2277     2277               
=============================================
- Hits           2147      275     -1872     
- Misses          130     2002     +1872     

see 82 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vjik vjik closed this Jun 5, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 5, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/phpunit/phpunit-tw-10.2 branch June 5, 2023 07:01
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