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

Composer(deps-dev): Update phpunit/phpunit requirement from ^10 to ^10 || ^11 #8

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 2, 2024

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

Changelog

Sourced from phpunit/phpunit's changelog.

[11.0.1] - 2024-02-02

Fixed

  • #5690: Backward Compatibility break in PHPUnit\Framework\Constraint\Constraint

[11.0.0] - 2024-02-02

Added

  • #4964: Enable named data sets with the #[TestWith*] attributes
  • #5225: Allow providing named arguments from a data provider
  • #5600: Assertions for comparing arrays while ignoring a specified list of keys
  • #5605: expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() for expecting E_USER_DEPRECATED issues
  • #5620: Implement group attribute on <directory> and <file> elements (children of <testsuite>) to add all tests found in a directory or file to a specified group
  • #5629: --exclude-filter CLI option for excluding tests from execution
  • #5642: --list-test-files CLI option to print the list of test files

Changed

  • #5213: Make TestCase methods protected that should have been protected all along
  • #5254: Make TestCase methods final that should have been final all along
  • #5619: Check and restore error/exception global handlers
  • The format of the XML document generated using the --list-tests-xml CLI option has been changed
  • small, medium, and large can no longer be used as group names with the #[Group] attribute
  • A test can no longer be part of multiple test suites that are configured in the XML configuration file
  • --check-version now exits with a shell exit code that indicates failure when the version is not the latest version

Deprecated

  • #4505: Support for metadata in doc-comments
  • #5214: TestCase::iniSet() (this method was already soft-deprecated in PHPUnit 10)
  • #5216: TestCase::setLocale() (this method was already soft-deprecated in PHPUnit 10)
  • #5240: TestCase::createTestProxy() (this method was already soft-deprecated in PHPUnit 10)
  • #5241: TestCase::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
  • #5242: TestCase::getMockFromWsdl() (this method was already soft-deprecated in PHPUnit 10)
  • #5243: TestCase::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5244: TestCase::getObjectForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5305: MockBuilder::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
  • #5306: MockBuilder::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5307: MockBuilder::enableProxyingToOriginalMethods(), MockBuilder::disableProxyingToOriginalMethods(), and MockBuilder::setProxyTarget() (these methods were already soft-deprecated in PHPUnit 10)
  • #5308: MockBuilder::allowMockingUnknownTypes() and MockBuilder::disallowMockingUnknownTypes() (these methods were already soft-deprecated in PHPUnit 10)
  • #5309: MockBuilder::enableAutoload() and MockBuilder::disableAutoload() (these methods were already soft-deprecated in PHPUnit 10)
  • #5315: MockBuilder::enableArgumentCloning() and MockBuilder::disableArgumentCloning() (these methods were already soft-deprecated in PHPUnit 10)
  • #5320: MockBuilder::addMethods() (this method was already soft-deprecated in PHPUnit 10)
  • #5415: Support for doubling interfaces (or classes) that have a method named method
  • #5423: TestCase::returnValue(), TestCase::onConsecutiveCalls(), TestCase::returnValueMap(), TestCase::returnArgument(), TestCase::returnSelf(), and TestCase::returnCallback() (these methods were already soft-deprecated in PHPUnit 10)
  • #5472: assertStringNotMatchesFormat() and assertStringNotMatchesFormatFile() (these methods were already soft-deprecated in PHPUnit 10)
  • #5535: Configuring expectations using expects() on test stubs

... (truncated)

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 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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 2, 2024

The following labels could not be found: composer, dependencies.

@pelmered pelmered merged commit db5f702 into main Feb 4, 2024
12 checks passed
@pelmered pelmered deleted the dependabot/composer/main/phpunit/phpunit-tw-10or-tw-11 branch February 4, 2024 11:03
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.

1 participant