Fix crush when intersection types used + Fix psalm + Kill mutants #654
static.yml
on: pull_request
Matrix: psalm / psalm
Matrix: psalm80 / psalm
Annotations
13 errors
PossiblyUndefinedMethod:
src/DefinitionStorage.php#L158
src/DefinitionStorage.php:158:42: PossiblyUndefinedMethod: Method ReflectionIntersectionType::isBuiltin does not exist (see https://psalm.dev/108)
|
PossiblyUndefinedMethod:
src/DefinitionStorage.php#L159
src/DefinitionStorage.php:159:53: PossiblyUndefinedMethod: Method ReflectionIntersectionType::getName does not exist (see https://psalm.dev/108)
|
MixedArgument:
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)
|
MixedArgument:
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)
|
PossiblyInvalidArgument:
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)
|
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
|
PossiblyUndefinedMethod:
src/DefinitionStorage.php#L158
src/DefinitionStorage.php:158:42: PossiblyUndefinedMethod: Method ReflectionIntersectionType::isBuiltin does not exist (see https://psalm.dev/108)
|
PossiblyUndefinedMethod:
src/DefinitionStorage.php#L159
src/DefinitionStorage.php:159:53: PossiblyUndefinedMethod: Method ReflectionIntersectionType::getName does not exist (see https://psalm.dev/108)
|
MixedArgument:
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)
|
MixedArgument:
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)
|
PossiblyInvalidArgument:
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)
|
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
|