Skip to content

Feat - Add #[Override] attribute #6649

Feat - Add #[Override] attribute

Feat - Add #[Override] attribute #6649

Triggered via pull request October 13, 2024 00:36
Status Success
Total duration 10m 9s
Artifacts 6

main.yml

on: pull_request
PHP Security Checker
42s
PHP Security Checker
Lint configuration
39s
Lint configuration
Lint documentation files
24s
Lint documentation files
Static analyzers
2m 15s
Static analyzers
Build application Docker image
2m 31s
Build application Docker image
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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#L46
src/Collection/CollectionTrait.php:46: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#L46
src/Collection/CollectionTrait.php:46: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#L88
src/Collection/CollectionTrait.php:88: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#L47
src/Command/Traits/ExecuteMultipleCommandTrait.php:47: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)

Artifacts

Produced during runtime
Name Size
CodeCoverage
2.42 MB
PhpMetrics
487 KB
clover.xml
24.2 KB
junit.xml
45.5 KB
phploc.json
690 Bytes
psalm.json
42.2 KB