Fix crush when intersection types used + Fix psalm + Kill mutants #655
Annotations
6 errors
Static analysis.:
src/DefinitionStorage.php#L158
src/DefinitionStorage.php:158:42: PossiblyUndefinedMethod: Method ReflectionIntersectionType::isBuiltin does not exist (see https://psalm.dev/108)
|
Static analysis.:
src/DefinitionStorage.php#L159
src/DefinitionStorage.php:159:53: PossiblyUndefinedMethod: Method ReflectionIntersectionType::getName does not exist (see https://psalm.dev/108)
|
Static analysis.:
src/DefinitionStorage.php#L169
src/DefinitionStorage.php:169:53: MixedArgument: Argument 1 of Yiisoft\Definitions\DefinitionStorage::isResolvable cannot be mixed, expecting string (see https://psalm.dev/030)
|
Static analysis.:
src/DefinitionStorage.php#L179
src/DefinitionStorage.php:179:100: MixedArgument: Argument 1 of Psr\Container\ContainerInterface::has cannot be mixed, expecting string (see https://psalm.dev/030)
|
Static analysis.:
src/ParameterDefinition.php#L222
src/ParameterDefinition.php:222:17: PossiblyInvalidArgument: Parameter 1 of closure passed to function array_map expects ReflectionNamedType, but possibly different type ReflectionIntersectionType|ReflectionNamedType provided (see https://psalm.dev/092)
|
Static analysis.
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading