Skip to content

Bump webmozart/assert from 1.12.1 to 2.1.1#104

Merged
stefanzweifel merged 1 commit into
mainfrom
dependabot/composer/webmozart/assert-2.1.1
Jan 13, 2026
Merged

Bump webmozart/assert from 1.12.1 to 2.1.1#104
stefanzweifel merged 1 commit into
mainfrom
dependabot/composer/webmozart/assert-2.1.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 12, 2026

Bumps webmozart/assert from 1.12.1 to 2.1.1.

Release notes

Sourced from webmozart/assert's releases.

Release 2.1.1

See change log for changes.

Release 2.1.0

See change log for changes.

Release 2.0.0

See change log for changes.

Release 2.0.0-beta

See change log for changes.

Changelog

Sourced from webmozart/assert's changelog.

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.
Commits

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

Bumps [webmozart/assert](https://github.com/webmozarts/assert) from 1.12.1 to 2.1.1.
- [Release notes](https://github.com/webmozarts/assert/releases)
- [Changelog](https://github.com/webmozarts/assert/blob/master/CHANGELOG.md)
- [Commits](webmozarts/assert@1.12.1...2.1.1)

---
updated-dependencies:
- dependency-name: webmozart/assert
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Jan 12, 2026
@stefanzweifel stefanzweifel merged commit 314b2a6 into main Jan 13, 2026
6 checks passed
@stefanzweifel stefanzweifel deleted the dependabot/composer/webmozart/assert-2.1.1 branch January 13, 2026 07:20
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.

1 participant