diff --git a/composer.lock b/composer.lock index 408c988..6018521 100644 --- a/composer.lock +++ b/composer.lock @@ -2643,11 +2643,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.33", + "version": "2.2.2", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9e800e6bee7d5bd02784d4c6069b48032d16224f", - "reference": "9e800e6bee7d5bd02784d4c6069b48032d16224f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5cc34d491a90e79c216d824f60fe21fd4d93bd6", + "reference": "e5cc34d491a90e79c216d824f60fe21fd4d93bd6", "shasum": "" }, "require": { @@ -2670,6 +2670,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -2692,7 +2703,7 @@ "type": "github" } ], - "time": "2025-12-05T10:24:31+00:00" + "time": "2026-06-05T09:00:01+00:00" }, { "name": "phpstan/phpstan-mockery", diff --git a/src/Uuid.php b/src/Uuid.php index 0f05bbf..59d4ef5 100644 --- a/src/Uuid.php +++ b/src/Uuid.php @@ -491,9 +491,6 @@ class Uuid implements UuidInterface $uuid = strtolower($uuid); /** @phpstan-ignore impure.staticPropertyAccess, possiblyImpure.functionCall */ if (!self::$factoryReplaced && preg_match(LazyUuidFromString::VALID_REGEX, $uuid) === 1) { - /** @phpstan-ignore possiblyImpure.functionCall */ - assert($uuid !== ''); - /** @phpstan-ignore possiblyImpure.new */ return new LazyUuidFromString($uuid); }