Skip to content

Merge pull request #2630 from tarlepp/chore(env)/php-update #5964

Merge pull request #2630 from tarlepp/chore(env)/php-update

Merge pull request #2630 from tarlepp/chore(env)/php-update #5964

Triggered via push January 27, 2024 10:34
Status Success
Total duration 8m 49s
Artifacts 5

main.yml

on: push
PHP Security Checker
37s
PHP Security Checker
Lint configuration
39s
Lint configuration
Lint documentation files
18s
Lint documentation files
Static analyzers
2m 2s
Static analyzers
Build application Docker image
1m 46s
Build application Docker image
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
PHP Security Checker
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint configuration
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analyzers
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)
PHPUnit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
PhpMetrics Expired
48.8 MB
clover.xml Expired
317 KB
junit.xml Expired
1.02 MB
phploc.json Expired
1.66 KB
psalm.json Expired
224 KB