Skip to content

Update webmozart/assert requirement from ^1.9 to ^2.1#288

Open
dependabot[bot] wants to merge 1 commit into2.2from
dependabot/composer/webmozart/assert-tw-2.1
Open

Update webmozart/assert requirement from ^1.9 to ^2.1#288
dependabot[bot] wants to merge 1 commit into2.2from
dependabot/composer/webmozart/assert-tw-2.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

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

Release notes

Sourced from webmozart/assert's releases.

Release 2.1.3

See change log for changes.

Changelog

Sourced from webmozart/assert's changelog.

2.1.3

Fixed

  • Corrected isList type documentation
  • Corrected isAOf, isInstanceOf, etc type documentation

2.1.2

Fixed

  • Changed all* assertion values back to mixed.

2.1.1

Fixed

  • Optimized stringNotEmpty by internally using notSame.

2.1.0

Fixed

  • Corrected @param declaration for isMap.
  • Pass custom message to internal assertion calls.

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

... (truncated)

Commits
  • 6976757 Fix changelog
  • 93b5140 Correct docblocks for isAOf and related (#346)
  • 90ab582 Always use global sprintf (#345)
  • 2654493 Verify the return of class_implements() (#344)
  • fb831dd Use correct syntax for static calls (#343)
  • b428c3f Correct isList type documentation (#342)
  • a518094 Use of 'static' in callable is deprecated (#340)
  • 5124865 Bump phpunit/phpunit from 11.5.46 to 11.5.50 in /tools/phpunit (#339)
  • ce6a2f1 Prepare for 2.1.2 release
  • b789271 Fixed iterable methods (all* + allNullOr*) types (return and $value parameter...
  • 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 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.9.0...2.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Feb 16, 2026
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 php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants