Skip to content

Bump phpunit/phpunit from 9.6.3 to 10.0.4

Created by: dependabot[bot]

Bumps phpunit/phpunit from 9.6.3 to 10.0.4.

Changelog

Sourced from phpunit/phpunit's changelog.

[10.0.4] - 2023-02-05

Fixed

  • #5169: Parameter type for constructor of GreaterThan and LessThan constraints does not match parameter type for Assert::greaterThan() and Assert::lessThan()
  • #5171: @backupStaticProperties and @backupStaticAttributes trigger an error

[10.0.3] - 2023-02-04

Added

  • PHPUnit\Event\TestSuite\Skipped and PHPUnit\Event\TestSuite\SkippedSubscriber (required for the fixing #5165)

Fixed

  • #5165: markTestSkipped() not handled correctly when called in "before first test" method
  • #5166: Error when generating TestDox output for risky test

[10.0.2] - 2023-02-04

Changed

  • The PHPUnit\TextUI\Configuration\Configuration::loadPharExtensions() method has been deprecated in favour of PHPUnit\TextUI\Configuration\Configuration::noExtensions()

Fixed

  • #5073: --no-extensions CLI option only prevents extension PHARs from being loaded
  • assertNotCount(), assertEmpty(), assertNotEmpty(), assertSameSize(), and assertNotSameSize() now reject Generator arguments just as assertCount() does

[10.0.1] - 2023-02-03

Fixed

  • #5157: Test Runner tries to run hook methods for TestSuite objects that do not collect TestCase objects

[10.0.0] - 2023-02-03

Added

  • #4676: Event System for extending PHPUnit's test runner
  • #4502: Support PHP 8 attributes for adding metadata to test classes and test methods as well as tested code units
  • #4641: assertStringEqualsStringIgnoringLineEndings() and assertStringContainsStringIgnoringLineEndings()
  • #4650: Support dist file name phpunit.dist.xml
  • #4657: --exclude-testsuite option
  • #4818: assertIsList()
  • #4892: Make colors used in HTML code coverage report configurable
  • #4893: Make path to custom.css for HTML code coverage report configurable
  • #5097: Support for enum values in TestDox placeholder replacements
  • TestCase::createStubForIntersectionOfInterfaces() and TestCase::createMockForIntersectionOfInterfaces()
  • #[ExcludeGlobalVariableFromBackup('variable')] attribute for excluding a global variable from the backup/restore of global and super-global variables

... (truncated)

Commits

Dependabot compatibility score

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)

Merge request reports

Loading