An open index of dependabot pull requests across open source projects.

Update webmozart/assert requirement from ~1.12 to ~2.1 in the production-dependencies group

Open
Number: #34
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Unknown
Comments: 1
Created: February 02, 2026 at 05:09 AM UTC
(5 months ago)
Updated: February 02, 2026 at 05:11 AM UTC
(5 months ago)
Labels:
dependencies php
Description:

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

Release notes

Sourced from webmozart/assert's releases.

Release 2.1.2

See change log for changes.

Changelog

Sourced from webmozart/assert's changelog.

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

Fixed

  • Exclude tools from export.

1.12.0

... (truncated)

Commits
  • ce6a2f1 Prepare for 2.1.2 release
  • b789271 Fixed iterable methods (all* + allNullOr*) types (return and $value parameter...
  • bdbabc1 Prepare changelog for 2.1.1
  • 54230fa Update changelog for #336
  • de8474e Use notSame instead of notEq for stringNotEmpty (#336)
  • 1a44093 Prepare 2.1.0 release (oops)
  • b01be90 Prepare 2.1.1 release
  • 1cc0a45 Pass message from methods to integer assertion inside (#335)
  • 6bfce1b Update changelog for last pr
  • 70ed4bc Fix parameter type for Assert::isMap() (#331)
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
Ecosystem:
packagist
Version Change:
~1.12 → ~2.1
Path:
the production-dependencies group
Technical Details
ID: 13391115
UUID: 3884021157
Node ID: PR_kwDOEC6vh87A0Mhn
Host: GitHub
Repository: simplesamlphp/assert