Skip to content

chore(deps): update webmozart/assert requirement from ^1.11 to ^2.0#38

Merged
maartenpaauw merged 2 commits intomainfrom
dependabot/composer/webmozart/assert-tw-2.0
Jan 5, 2026
Merged

chore(deps): update webmozart/assert requirement from ^1.11 to ^2.0#38
maartenpaauw merged 2 commits intomainfrom
dependabot/composer/webmozart/assert-tw-2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 29, 2025

Updates the requirements on webmozart/assert to permit the latest version.

Release notes

Sourced from webmozart/assert's releases.

Release 2.0.0

See change log for changes.

Changelog

Sourced from webmozart/assert's changelog.

2.0.0

Changed

  • BREAKING Minimum PHP version is now 8.2 (was 7.2).
  • BREAKING Remove deprecated isTraversable, use isIterable or isInstanceOf instead.
  • BREAKING Added declare(strict_types=1) to all classes.
  • Updated CI/CD test matrix to test PHP 8.2, 8.3, 8.4, and 8.5.
  • Updated development tools (PHPUnit, Psalm, PHP-CS-Fixer) to supported versions.
  • Added explicit return types and parameter types to all methods in both source code and tests.

Added

  • All assertion methods now return the checked value.
  • Added notInArray and notOneOf.
  • Added isInitialized, to check if a class property is initialized.
  • Added negativeInteger and notNegativeInteger
  • Added isStatic and notStatic

Fixed

  • Corrected validation of emails with unicode characters.

1.12.1

Fixed

  • Exclude tools from export.

1.12.0

Fixed

  • Corrected messages and typos in various assertions.
  • Document void return type.
  • Prevent UUIDs with trailing newlines from validating.
  • Assert values are strings before ctype checks.

1.11.0

Added

  • Added explicit (non-magic) allNullOr* methods, with @psalm-assert annotations, for better Psalm support.

Changed

  • Trait methods will now check the assertion themselves, instead of using __callStatic
  • isList will now deal correctly with (modified) lists that contain NaN
  • reportInvalidArgument now has a return type of never.

... (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)

Updates the requirements on [webmozart/assert](https://github.com/webmozarts/assert) to permit the latest version.
- [Release notes](https://github.com/webmozarts/assert/releases)
- [Changelog](https://github.com/webmozarts/assert/blob/master/CHANGELOG.md)
- [Commits](webmozarts/assert@1.11.0...2.0.0)

---
updated-dependencies:
- dependency-name: webmozart/assert
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 29, 2025

Labels

The following labels could not be found: composer. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fafca0f) to head (5c24ee2).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main       #38   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        42        42           
===========================================
  Files             11        11           
  Lines            127       119    -8     
===========================================
- Hits             127       119    -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@maartenpaauw maartenpaauw merged commit 8c8d2e9 into main Jan 5, 2026
16 checks passed
@dependabot dependabot bot deleted the dependabot/composer/webmozart/assert-tw-2.0 branch January 5, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant