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.26 to ^10.4.1 #157

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 2023

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

Changelog

Sourced from phpunit/phpunit's changelog.

10.4.1 - 2023-10-08

Fixed

  • #5534: Cache for generated Test Double code was not updated for Test Stub and Mock Object distinction

10.4.0 - 2023-10-06

Added

  • #5441: Baseline for E_(USER_)DEPRECATED, E_(USER_)NOTICE, E_STRICT, and E_(USER_)WARNING
  • #5462: Support for multiple arguments
  • #5471: assertFileMatchesFormat() and assertFileMatchesFormatFile()
  • #5515: PHPUnit\Runner\Extension\Facade::requireExportOfObjects() so that test runner extensions can indicate that they require the export of objects for events such as Test\AssertionSucceeded and Test\AssertionFailed
  • Test\PreparationFailed event
  • Attribute id attribute for testCaseMethod elements in the XML document generated by --list-tests-xml

Changed

  • #5505: Improve the failure description of StringContains-based assertions when the strings are encoded differently
  • #5515: The Test\AssertionSucceeded and Test\AssertionFailed events are always emitted again
  • #5515: --log-events-verbose-text enables the export of non-scalar values for the Test\AssertionSucceeded and Test\AssertionFailed events
  • #5524: Do not export data passed to test for PHPUnit\Event\Code\TestMethod value object by default
  • #5526: Do not limit number of columns to 80 on non-interactive TTY
  • Exceptions thrown by third-party event subscribers are now reported as test runner warnings
  • The name of the top-level test suite that is created when a directory or file path is passed as an argument to the test runner is now CLI Arguments
  • Simplified the failure description for assertInstanceOf() and assertNotInstanceOf()
  • Simplified the failure description for assertJson()
  • The --enforce-time-limit CLI option and the enforceTimeLimit XML configuration file attribute no longer affect the running of PHPT tests
  • The @codeCoverageIgnore, @codeCoverageIgnoreStart, and @codeCoverageIgnoreEnd annotations are no longer deprecated

Deprecated

  • #5472: TestCase::assertStringNotMatchesFormat() and TestCase::assertStringNotMatchesFormatFile() (these methods only have a @deprecated annotation for now; using these methods will trigger a deprecation warning in PHPUnit 11; these methods will be removed in PHPUnit 12)
  • #5481: dataSet attribute for testCaseMethod elements in the XML document generated by --list-tests-xml (the attribute will not be generated anymore starting with PHPUnit 11)
  • #5513: IgnoreClassForCodeCoverage, IgnoreMethodForCodeCoverage, and IgnoreFunctionForCodeCoverage attributes (these attributes will be removed in PHPUnit 11)
  • PHPUnit\TextUI\Configuration\Configuration::cliArgument() and PHPUnit\TextUI\Configuration\Configuration::hasCliArgument()
  • PHPUnit\Framework\Constraint\Constraint::exporter()
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/10.4.1/ChangeLog-10.4.md)
- [Commits](sebastianbergmann/phpunit@9.5.26...10.4.1)

---
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 Oct 9, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 30, 2023

Superseded by #162.

@dependabot dependabot bot closed this Oct 30, 2023
@dependabot dependabot bot deleted the dependabot/composer/phpunit/phpunit-tw-10.4.1 branch October 30, 2023 00:59
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.

0 participants