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.4 to ^12.0.5 #375

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2025

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

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.0.5

Fixed

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

How to install or update PHPUnit

Changelog

Sourced from phpunit/phpunit's changelog.

[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]
  • #6073: #[CoversNamespace] and #[UsesNamespace]
  • #6074: #[RequiresEnvironmentVariable]

Changed

  • #5872: The default value for shortenArraysForExportThreshold is now 10 (limit export of arrays to 10 levels) instead of 0 (do not limit export of arrays)

... (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 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 as a code owner February 26, 2025 03:19
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 26, 2025
Copy link
Contributor

github-actions bot commented Feb 26, 2025

Dependency Review

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

OpenSSF Scorecard

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

Scanned Files

  • composer.json

@github-actions github-actions bot enabled auto-merge February 26, 2025 03:26
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.36%. Comparing base (0aec392) to head (6a64652).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #375   +/-   ##
=========================================
  Coverage     97.36%   97.36%           
  Complexity      579      579           
=========================================
  Files            47       47           
  Lines          2236     2236           
=========================================
  Hits           2177     2177           
  Misses           59       59           
Flag Coverage Δ
php-8.3 97.36% <ø> (ø)
phpunit 97.36% <ø> (ø)
ubuntu-24.04 97.36% <ø> (ø)

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

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.5/ChangeLog-12.0.md)
- [Commits](sebastianbergmann/phpunit@12.0.4...12.0.5)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/master/phpunit/phpunit-tw-12.0.5 branch from a6b46b2 to 6a64652 Compare February 26, 2025 06:21
Copy link

codeclimate bot commented Feb 26, 2025

Code Climate has analyzed commit 6a64652 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 97.3%.

View more on Code Climate.

@github-actions github-actions bot merged commit e49a930 into master Feb 26, 2025
80 checks passed
@github-actions github-actions bot deleted the dependabot/composer/master/phpunit/phpunit-tw-12.0.5 branch February 26, 2025 07:38
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