---
title: "webmozart/assert 2.0.0 Breaking Changes on Packagist"
description: "What each webmozart/assert release removed, renamed or changed: 648 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/webmozart/assert
last_updated: 2026-12-04
---

# webmozart/assert breaking changes

webmozart/assert 2.0.0 (December 16, 2025) is its newest release with breaking changes, 648 of them. The first: Removed Webmozart\\Assert\\Assert::\_\_callStatic. Every breaking API change we have recorded in webmozart/assert on Packagist: 648 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.5.1`, released November 15, 2026. MIT license. [Source repository](https://github.com/webmozarts/assert)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## webmozart/assert 2.0.0 breaking changes

webmozart/assert 2.0.0, released December 16, 2025: 648 breaking changes.

- **Removed** `Webmozart\Assert\Assert::__callStatic`  

Webmozart\\Assert\\Assert::\_\_callStatic was removed in webmozart/assert 2.0.0 [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Assert::allIsTraversable`  

Use isIterable instead. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Assert::allNullOrIsTraversable`  

Use isIterable instead. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Assert::isTraversable`  

Use isIterable instead. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Assert::nullOrIsTraversable`  

Use isIterable instead. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Mixin::allIsTraversable`  

Webmozart\\Assert\\Mixin::allIsTraversable was removed in webmozart/assert 2.0.0 [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Mixin::allNullOrIsTraversable`  

Webmozart\\Assert\\Mixin::allNullOrIsTraversable was removed in webmozart/assert 2.0.0 [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Removed** `Webmozart\Assert\Mixin::nullOrIsTraversable`  

Webmozart\\Assert\\Mixin::nullOrIsTraversable was removed in webmozart/assert 2.0.0 [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allAlnum`  

Was public static function allAlnum($value, $message = ''); now public static function allAlnum(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allAlpha`  

Was public static function allAlpha($value, $message = ''); now public static function allAlpha(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allBoolean`  

Was public static function allBoolean($value, $message = ''); now public static function allBoolean(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allClassExists`  

Was public static function allClassExists($value, $message = ''); now public static function allClassExists(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allContains`  

Was public static function allContains($value, $subString, $message = ''); now public static function allContains(iterable $value, mixed $subString, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allCount`  

Was public static function allCount($array, $number, $message = ''); now public static function allCount(mixed $array, mixed $number, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allCountBetween`  

Was public static function allCountBetween($array, $min, $max, $message = ''); now public static function allCountBetween(mixed $array, mixed $min, mixed $max, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allDigits`  

Was public static function allDigits($value, $message = ''); now public static function allDigits(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allDirectory`  

Was public static function allDirectory($value, $message = ''); now public static function allDirectory(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allEmail`  

Was public static function allEmail($value, $message = ''); now public static function allEmail(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allEndsWith`  

Was public static function allEndsWith($value, $suffix, $message = ''); now public static function allEndsWith(iterable $value, mixed $suffix, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allEq`  

Was public static function allEq($value, $expect, $message = ''); now public static function allEq(iterable $value, mixed $expect, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allFalse`  

Was public static function allFalse($value, $message = ''); now public static function allFalse(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allFile`  

Was public static function allFile($value, $message = ''); now public static function allFile(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allFileExists`  

Was public static function allFileExists($value, $message = ''); now public static function allFileExists(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allFloat`  

Was public static function allFloat($value, $message = ''); now public static function allFloat(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allGreaterThan`  

Was public static function allGreaterThan($value, $limit, $message = ''); now public static function allGreaterThan(iterable $value, mixed $limit, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allGreaterThanEq`  

Was public static function allGreaterThanEq($value, $limit, $message = ''); now public static function allGreaterThanEq(iterable $value, mixed $limit, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allImplementsInterface`  

Was public static function allImplementsInterface($value, $interface, $message = ''); now public static function allImplementsInterface(iterable $value, mixed $interface, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allInArray`  

Was public static function allInArray($value, $values, $message = ''); now public static function allInArray(iterable $value, mixed $values, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allInteger`  

Was public static function allInteger($value, $message = ''); now public static function allInteger(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIntegerish`  

Was public static function allIntegerish($value, $message = ''); now public static function allIntegerish(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allInterfaceExists`  

Was public static function allInterfaceExists($value, $message = ''); now public static function allInterfaceExists(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIp`  

Was public static function allIp($value, $message = ''); now public static function allIp(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIpv4`  

Was public static function allIpv4($value, $message = ''); now public static function allIpv4(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIpv6`  

Was public static function allIpv6($value, $message = ''); now public static function allIpv6(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsAnyOf`  

Was public static function allIsAnyOf($value, $classes, $message = ''); now public static function allIsAnyOf(iterable $value, mixed $classes, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsAOf`  

Was public static function allIsAOf($value, $class, $message = ''); now public static function allIsAOf(iterable $value, mixed $class, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsArray`  

Was public static function allIsArray($value, $message = ''); now public static function allIsArray(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsArrayAccessible`  

Was public static function allIsArrayAccessible($value, $message = ''); now public static function allIsArrayAccessible(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsCallable`  

Was public static function allIsCallable($value, $message = ''); now public static function allIsCallable(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsCountable`  

Was public static function allIsCountable($value, $message = ''); now public static function allIsCountable(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsEmpty`  

Was public static function allIsEmpty($value, $message = ''); now public static function allIsEmpty(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsInstanceOf`  

Was public static function allIsInstanceOf($value, $class, $message = ''); now public static function allIsInstanceOf(iterable $value, mixed $class, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsInstanceOfAny`  

Was public static function allIsInstanceOfAny($value, $classes, $message = ''); now public static function allIsInstanceOfAny(iterable $value, mixed $classes, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsIterable`  

Was public static function allIsIterable($value, $message = ''); now public static function allIsIterable(iterable $value, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsList`  

Was public static function allIsList($array, $message = ''); now public static function allIsList(mixed $array, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsMap`  

Was public static function allIsMap($array, $message = ''); now public static function allIsMap(mixed $array, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsNonEmptyList`  

Was public static function allIsNonEmptyList($array, $message = ''); now public static function allIsNonEmptyList(mixed $array, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsNonEmptyMap`  

Was public static function allIsNonEmptyMap($array, $message = ''); now public static function allIsNonEmptyMap(mixed $array, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allIsNotA`  

Was public static function allIsNotA($value, $class, $message = ''); now public static function allIsNotA(iterable $value, mixed $class, string $message = ''): iterable. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)
- **Signature changed** `Webmozart\Assert\Assert::allKeyExists`  

Was public static function allKeyExists($array, $key, $message = ''); now public static function allKeyExists(mixed $array, string|int $key, string $message = ''): mixed. [packagist.org](https://packagist.org/packages/webmozart/assert#2.0.0)

And 598 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
