bitExpert / phpstan-magento

Magento specific extension for PHPStan
MIT License
134 stars 24 forks source link

Update phpunit/phpunit requirement from ^9.5.20 to ^10.0.4 #285

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

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 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)
shochdoerfer commented 1 year ago

Not possible to integrate PHPUnit 10.x because we rely on PHP 7.x for this extension.

dependabot[bot] commented 1 year ago

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.