yiisoft / translator

Message translation
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
23 stars 9 forks source link

Update phpunit/phpunit requirement from ^9.5 to ^10.1 #116

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.1.0 - 2023-04-14

Added

  • #5168: Allow test runner extensions to disable default progress and result printing
  • #5196: Optionally (fail|stop) on (notice|deprecation) events
  • #5201: Add TestCase::registerFailureType() to register interface that marks exceptions to be treated as failures, not errors
  • #5231: assertObjectHasProperty() and assertObjectNotHasProperty()
  • #5237: Implement IgnoreClassForCodeCoverage, IgnoreMethodForCodeCoverage, and IgnoreFunctionForCodeCoverage attributes
  • #5293: Allow to restrict the reporting of deprecations, notices, and warnings to specified directories
  • #5294: Introduce <source> XML configuration element to configure "your code"
  • #5300: TestCase::transformException() hook method
  • TestCase::createConfiguredStub() was added as an analogon to TestCase::createConfiguredMock()
  • The PHPUnit\Event\TestRunner\ExecutionAborted event is now emitted when the execution of tests is stopped due to stopOn* attributes on the <phpunit> XML configuration element or due to --stop-on-* CLI options
  • Event telemetry now includes status information for PHP's garbage collector

Changed

  • #5198: Display PHPUnit deprecations when TestDox output is used
  • #5326: Ignore suppressed E_USER_* errors again

Deprecated

  • #5236: Deprecate the CodeCoverageIgnore attribute
  • #5240: Deprecate TestCase::createTestProxy() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5241: Deprecate TestCase::getMockForAbstractClass() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5242: Deprecate TestCase::getMockFromWsdl() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5243: Deprecate TestCase::getMockForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5244: Deprecate TestCase::getObjectForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5305: Deprecate MockBuilder::getMockForAbstractClass() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5306: Deprecate MockBuilder::getMockForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5307: Deprecate MockBuilder::enableProxyingToOriginalMethods(), MockBuilder::disableProxyingToOriginalMethods(), and MockBuilder::setProxyTarget() (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)
  • #5308: Deprecate MockBuilder::allowMockingUnknownTypes() and MockBuilder::disallowMockingUnknownTypes() (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)
  • #5315: Deprecate MockBuilder::enableArgumentCloning() and MockBuilder::disableArgumentCloning() (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)
  • #5320: Deprecate MockBuilder::addMethods() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • Using <coverage><include>...</include><exclude>...</exclude></coverage> in the XML configuration file to configure code that should be included in code coverage reporting is now deprecated and support for this will be removed in PHPUnit 11 (use <source><include>...</include><exclude>...</exclude></source> instead)
  • PHPUnit\TextUI\Configuration\Configuration::hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport() (use hasNonEmptyListOfSourceFiles() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageIncludeDirectories() (use sourceIncludeDirectories() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageIncludeFiles() (use sourceIncludeFiles() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageExcludeDirectories() (use sourceExcludeDirectories() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageExcludeFiles() (use sourceExcludeFiles() instead)
Commits
  • 5a477ae Prepare release
  • 95b5cb8 [TASK] Take silenced E_USER_* errors as silenced again
  • fcff1c5 Closes #5324
  • 07c279b Merge branch '10.0'
  • 15d3109 Merge branch '9.6' into 10.0
  • 0ef4d1f Fix: Adjust order of values when assembling error message
  • eb6fe34 Merge branch '10.0'
  • 54e5ab5 Update Psalm baseline
  • 93fb608 phpunit/php-code-coverage 10.1.0 has been released
  • 11feffc Delete PHPUnit 10.0 ChangeLog
  • Additional commits viewable in compare view


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)
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -95.86 :warning:

Comparison is base (87331a9) 99.01% compared to head (5706f24) 3.16%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #116 +/- ## ============================================ - Coverage 99.01% 3.16% -95.86% Complexity 110 110 ============================================ Files 13 11 -2 Lines 306 284 -22 ============================================ - Hits 303 9 -294 - Misses 3 275 +272 ``` [see 13 files with indirect coverage changes](https://codecov.io/gh/yiisoft/translator/pull/116/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

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.