Chore(deps-dev): Bump the tools_psalm_dependencies group in /tools/03_psalm with 1 update #5945
main.yml
on: pull_request
Lint documentation files
17s
Build application Docker image
0s
Annotations
4 errors and 10 warnings
RiskyTruthyFalsyComparison:
src/Entity/Traits/LogRequestProcessRequestTrait.php#L352
src/Entity/Traits/LogRequestProcessRequestTrait.php:352:30: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
tests/E2E/TestCase/WebTestCase.php#L145
tests/E2E/TestCase/WebTestCase.php:145:13: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
tests/bootstrap.php#L102
tests/bootstrap.php:102:47: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Static analyzers
Process completed with exit code 2.
|
MixedMethodCall:
src/AutoMapper/RestRequestMapper.php#L49
src/AutoMapper/RestRequestMapper.php:49:24: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
|
MixedInferredReturnType:
src/Collection/CollectionTrait.php#L48
src/Collection/CollectionTrait.php:48:45: MixedInferredReturnType: Could not verify return type 'App\Rest\Interfaces\RestResourceInterface' for App\Collection\CollectionTrait::get (see https://psalm.dev/047)
|
MixedInferredReturnType:
src/Collection/CollectionTrait.php#L48
src/Collection/CollectionTrait.php:48:45: MixedInferredReturnType: Could not verify return type 'App\Rest\Interfaces\ControllerInterface' for App\Collection\CollectionTrait::get (see https://psalm.dev/047)
|
MixedArgumentTypeCoercion:
src/Collection/CollectionTrait.php#L90
src/Collection/CollectionTrait.php:90:89: MixedArgumentTypeCoercion: Argument 2 of CallbackFilterIterator::__construct expects callable(mixed, mixed, Iterator<mixed, mixed>):bool, but parent type Closure provided (see https://psalm.dev/194)
|
MixedReturnTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L74
src/Command/ApiKey/ListApiKeysCommand.php:74:16: MixedReturnTypeCoercion: The declared return type 'array<int, string>' for App\Command\ApiKey\ListApiKeysCommand::getRows is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L80
src/Command/ApiKey/ListApiKeysCommand.php:80:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<int, string>' for App\Command\ApiKey\ListApiKeysCommand::getRows (see https://psalm.dev/197)
|
MixedArgumentTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L104
src/Command/ApiKey/ListApiKeysCommand.php:104:60: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::map expects Closure(T:Doctrine\Common\Collections\Collection as mixed):non-empty-string, but parent type pure-Closure(App\Entity\UserGroup):non-empty-string provided (see https://psalm.dev/194)
|
MixedInferredReturnType:
src/Command/Traits/ExecuteMultipleCommandTrait.php#L49
src/Command/Traits/ExecuteMultipleCommandTrait.php:49:81: MixedInferredReturnType: Could not verify return type 'int' for App\Command\Traits\ExecuteMultipleCommandTrait::execute (see https://psalm.dev/047)
|
MixedReturnTypeCoercion:
src/Command/User/ListUserGroupsCommand.php#L72
src/Command/User/ListUserGroupsCommand.php:72:16: MixedReturnTypeCoercion: The declared return type 'array<int, string>' for App\Command\User\ListUserGroupsCommand::getRows is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/Command/User/ListUserGroupsCommand.php#L78
src/Command/User/ListUserGroupsCommand.php:78:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<int, string>' for App\Command\User\ListUserGroupsCommand::getRows (see https://psalm.dev/197)
|