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

Bump phpunit/phpunit from 9.6.4 to 10.5.2 #1866

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps phpunit/phpunit from 9.6.4 to 10.5.2.

Changelog

Sourced from phpunit/phpunit's changelog.

10.5.2 - 2023-12-05

Fixed

  • #5561: JUnit XML logger does not handle assertion failures in before-test methods
  • #5567: Infinite recursion when recursive / self-referencing arrays are checked whether they contain only scalar values

10.5.1 - 2023-12-01

Fixed

  • #5593: Return Value Generator fails to correctly create test stub for method with static return type declaration when used recursively
  • #5596: PHPUnit\Framework\TestCase has @internal annotation in PHAR

10.5.0 - 2023-12-01

Added

  • #5532: #[IgnoreDeprecations] attribute to ignore E_(USER_)DEPRECATED issues on test class and test method level
  • #5551: Support for omitting parameter default values for willReturnMap()
  • #5577: --composer-lock CLI option for PHAR binary that displays the composer.lock used to build the PHAR

Changed

  • MockBuilder::disableAutoReturnValueGeneration() and MockBuilder::enableAutoReturnValueGeneration() are no longer deprecated

Fixed

  • #5563: createMockForIntersectionOfInterfaces() does not automatically register mock object for expectation verification
Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot force-pushed the dependabot/composer/phpunit/phpunit-10.5.2 branch 4 times, most recently from 32d6895 to 7d15c4e Compare December 6, 2023 21:38
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.4 to 10.5.2.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.2/ChangeLog-10.5.md)
- [Commits](sebastianbergmann/phpunit@9.6.4...10.5.2)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/phpunit/phpunit-10.5.2 branch from 7d15c4e to 03b75c2 Compare December 6, 2023 21:38
@williamjallen williamjallen self-assigned this Dec 6, 2023
@williamjallen williamjallen marked this pull request as draft December 6, 2023 23:15
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

A newer version of phpunit/phpunit exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

github-merge-queue bot pushed a commit that referenced this pull request Mar 17, 2024
)

This PR is the second in the series for addressing changes that will
need to be made before #1866 can be
merged. The PHPUnit function `setMethods()` is
[deprecated](https://github.com/sebastianbergmann/phpunit/blob/9.6/DEPRECATIONS.md#test-double-api),
so our usages of it were switched to `onlyMethods()` instead. The only
locations that weren't updated and still being suppressed in
`phpstan-baseline.neon` are:
* `app/cdash/include/Test/CDashTestCase.php`
* `app/cdash/include/Test/CDashUseCaseTestCase.php`
* `app/cdash/tests/case/CDash/Lib/Repository/GitHubTest.php`
* `app/cdash/tests/case/CDash/Model/BuildErrorTest.php`
* `tests/Unit/app/Validators/PasswordTest.php`

since a simple replacement of `setMethods()` by `onlyMethods()` does not
work for these cases.

Co-authored-by: William Allen <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Mar 17, 2024
This PR is meant to serve as a first step for addressing changes that
will need to be made before #1866
can be merged. The PHPUnit function `returnCallback()` is
[deprecated](sebastianbergmann/phpunit#5423),
so our usage of it was switched to its shorthand syntax, as recommended
by the docs.
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.

1 participant