composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist
MIT License
3.14k stars 516 forks source link

Bump phpunit/phpunit from 9.6.19 to 11.1.3 #862

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 4 months ago

Bumps phpunit/phpunit from 9.6.19 to 11.1.3.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 11.1.3

Fixed

  • #5771: JUnit XML logger may crash when test that is run in separate process exits unexpectedly
  • #5819: Duplicate keys from different data providers are not handled properly

How to install or update PHPUnit

PHPUnit 11.1.2

Fixed

  • #5795: Using @testWith annotation may generate PHP Warning: Uninitialized string offset 0
  • #5807: The #[CoversMethod] attribute is not considered for risky test check

How to install or update PHPUnit

PHPUnit 11.1.1

Fixed

  • #5798: The #[CoversClass] and #[UsesClass] attributes can no longer target traits

How to install or update PHPUnit

PHPUnit 11.1.0

Added

  • #5689: Distinguish between self, direct and indirect deprecations
  • #5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
  • #5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
  • #5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
  • #5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
  • --only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
  • --show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files

Changed

  • #5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
  • #5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
  • PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
  • Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text

Deprecated

  • #5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
  • #5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options

How to install or update PHPUnit

PHPUnit 11.0.10

Changed

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

11.1.3 - 2024-04-24

Fixed

  • #5771: JUnit XML logger may crash when test that is run in separate process exits unexpectedly
  • #5819: Duplicate keys from different data providers are not handled properly

11.1.2 - 2024-04-14

Fixed

  • #5795: Using @testWith annotation may generate PHP Warning: Uninitialized string offset 0
  • #5807: The #[CoversMethod] attribute is not considered for risky test check

11.1.1 - 2024-04-06

Fixed

  • #5798: The #[CoversClass] and #[UsesClass] attributes can no longer target traits

11.1.0 - 2024-04-05

Added

  • #5689: Distinguish between self, direct and indirect deprecations
  • #5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
  • #5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
  • #5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
  • #5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
  • --only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
  • --show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files

Changed

  • #5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
  • #5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
  • PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
  • Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text

Deprecated

  • #5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
  • #5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options
Commits
  • d475be0 Prepare release
  • eeb58ad Merge branch '10.5' into 11.1
  • 547d314 Prepare release
  • 5fc31bd Merge branch '10.5' into 11.1
  • 6da42ed Make this test work on Windows
  • d02eef1 Merge branch '10.5' into 11.1
  • 371fc2c Update ChangeLog
  • 77dc808 Use JUnit XML logfile as expectation instead of test runner output
  • c722fb2 Do not crash when test run in child process ends unexpectedly and `--log-juni...
  • b2b3555 Add --log-junit to test
  • Additional commits viewable in compare view


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 show 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)
private-packagist[bot] commented 4 months ago

composer.lock

Dev Package changes

Package Operation From To About
phpunit/php-code-coverage upgrade 9.2.31 11.0.3 diff
phpunit/php-file-iterator upgrade 3.0.6 5.0.0 diff
phpunit/php-invoker upgrade 3.1.1 5.0.0 diff
phpunit/php-text-template upgrade 2.0.4 4.0.0 diff
phpunit/php-timer upgrade 5.0.3 7.0.0 diff
phpunit/phpunit upgrade 9.6.19 11.1.3 diff
sebastian/cli-parser upgrade 1.0.2 3.0.1 diff
sebastian/code-unit upgrade 1.0.8 3.0.0 diff
sebastian/code-unit-reverse-lookup upgrade 2.0.3 4.0.0 diff
sebastian/comparator upgrade 4.0.8 6.0.0 diff
sebastian/complexity upgrade 2.0.3 4.0.0 diff
sebastian/diff upgrade 4.0.6 6.0.1 diff
sebastian/environment upgrade 5.1.5 7.1.0 diff
sebastian/exporter upgrade 4.0.6 6.0.1 diff
sebastian/global-state upgrade 5.0.7 7.0.1 diff
sebastian/lines-of-code upgrade 1.0.4 3.0.0 diff
sebastian/object-enumerator upgrade 4.0.4 6.0.0 diff
sebastian/object-reflector upgrade 2.0.4 4.0.0 diff
sebastian/recursion-context upgrade 4.0.5 6.0.0 diff
sebastian/type upgrade 3.2.1 5.0.0 diff
sebastian/version upgrade 3.0.2 5.0.0 diff
doctrine/instantiator remove 2.0.0 - -
sebastian/resource-operations remove 3.0.4 - -

Settings · Docs · Powered by Private Packagist

dependabot[bot] commented 3 months ago

Superseded by #871.