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

composer(deps-dev): update phpunit/phpunit requirement from ^12.0.5 to ^12.0.6 #242

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2025

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

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.0.6

Fixed

  • #6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

How to install or update PHPUnit

Changelog

Sourced from phpunit/phpunit's changelog.

[12.0.6] - 2025-03-05

Fixed

  • #6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

[12.0.5] - 2025-02-25

Fixed

  • #6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky

[12.0.4] - 2025-02-21

Fixed

  • #6134: Missing event when child process ends unexpectedly

[12.0.3] - 2025-02-18

Changed

  • TestCase::__construct() is now declared final (it was annotated with @final before and the announced changed from @final to final for PHPUnit 12 was forgotten)

Fixed

  • #5951: Restore the includeUncoveredFiles configuration option
  • #6133: Precision loss in aggregated test suite execution time(s) reported by JUnit XML logger
  • A Test\PreparationFailed event is now emitted in addition to a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\Errored event when an assertion failure or an unexpected exception is triggered in an after-test method
  • A TestSuite\Finished event is now emitted when a before-first-test method errors

[12.0.2] - 2025-02-08

Changed

  • Updated dependencies for PHAR distribution

[12.0.1] - 2025-02-07

Fixed

  • Deprecation message for Assert::isType(), assertContainsOnly(), assertNotContainsOnly(), and containsOnly()

[12.0.0] - 2025-02-07

Added

  • #5984: #[CoversClassesThatExtendClass] and #[UsesClassesThatExtendClass]
  • #5985: #[CoversClassesThatImplementInterface] and #[UsesClassesThatImplementInterface]

... (truncated)

Commits
  • a1c7e1e Prepare release
  • 026c25d Merge branch '11.5' into 12.0
  • 3946ac3 Prepare release
  • 6dd3062 Merge branch '11.5' into 12.0
  • 99430ca Merge branch '10.5' into 11.5
  • edcef65 Revert "Do not swallow exceptions in event subscribers when PHPUnit's own tes...
  • 5649a1f Merge branch '11.5' into 12.0
  • 2be2876 Merge branch '10.5' into 11.5
  • 0077cb2 Rename methods
  • 39d2726 Merge branch '11.5' into 12.0
  • 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 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)

@dependabot dependabot bot requested a review from mimmi20 March 6, 2025 03:28
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 6, 2025
@github-actions github-actions bot enabled auto-merge March 6, 2025 03:49
Copy link
Contributor

github-actions bot commented Mar 6, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
composer/phpunit/phpunit >= 12.0.6, < 13.0.0 🟢 5.2
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions⚠️ -1No tokens found
Packaging⚠️ -1packaging workflow not detected
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Dangerous-Workflow⚠️ -1no workflows found
SAST⚠️ 0no SAST tool detected
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ -1no dependencies found
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Vulnerabilities🟢 100 existing vulnerabilities detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches

Scanned Files

  • composer.json

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (099bce4) to head (9acc49b).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              master      #242   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       128       128           
===========================================
  Files             14        14           
  Lines            357       357           
===========================================
  Hits             357       357           
Flag Coverage Δ
php-8.3 100.00% <ø> (ø)
phpunit 100.00% <ø> (ø)
ubuntu-24.04 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.0.6/ChangeLog-12.0.md)
- [Commits](sebastianbergmann/phpunit@12.0.5...12.0.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/master/phpunit/phpunit-tw-12.0.6 branch from b1a27cc to 9acc49b Compare March 6, 2025 06:18
Copy link

codeclimate bot commented Mar 6, 2025

Code Climate has analyzed commit 9acc49b and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0%.

View more on Code Climate.

@github-actions github-actions bot merged commit 0280068 into master Mar 6, 2025
80 checks passed
@github-actions github-actions bot deleted the dependabot/composer/master/phpunit/phpunit-tw-12.0.6 branch March 6, 2025 07:35
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant