Skip to content

Update dependency webmozart/assert to v2#22

Open
renovate[bot] wants to merge 1 commit into1.2.xfrom
renovate/webmozart-assert-2.x
Open

Update dependency webmozart/assert to v2#22
renovate[bot] wants to merge 1 commit into1.2.xfrom
renovate/webmozart-assert-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webmozart/assert ^1.11^1.11 || ^2.0 age adoption passing confidence

Release Notes

webmozarts/assert (webmozart/assert)

v2.3.0

Compare Source

Changed
  • Clarified documentation and testing of uniqueValues.
Added
  • All assertions now support string|callable for the message.

v2.2.0

Compare Source

Added
  • Added isNotInstanceOfAny assertion.

v2.1.6

Compare Source

Fixed
  • Corrected docblocks for list* methods.

v2.1.5

Compare Source

Fixed
  • Fixed regression of instanceOf messages

v2.1.4

Compare Source

Fixed
  • Use custom message for more internal calls.

v2.1.3

Compare Source

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

v2.1.2

Compare Source

Fixed
  • Changed all* assertion values back to mixed.

v2.1.1

Compare Source

Fixed
  • Optimized stringNotEmpty by internally using notSame.

v2.1.0

Compare Source

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

v2.0.0

Compare Source

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.

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot within LM-Commons.

@renovate renovate Bot added the renovate label Dec 17, 2025
@renovate renovate Bot force-pushed the renovate/webmozart-assert-2.x branch from 5422b14 to c511d25 Compare February 16, 2026 19:17
@renovate renovate Bot force-pushed the renovate/webmozart-assert-2.x branch 2 times, most recently from e436468 to dc6b3a9 Compare April 21, 2026 21:22
| datasource | package          | from   | to    |
| ---------- | ---------------- | ------ | ----- |
| packagist  | webmozart/assert | 1.12.1 | 2.3.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/webmozart-assert-2.x branch from dc6b3a9 to 7ff70f2 Compare April 21, 2026 21:29
@renovate renovate Bot changed the base branch from 1.1.x to 1.2.x April 22, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants