Skip to content

Chore(env) - PHP update #6992

Chore(env) - PHP update

Chore(env) - PHP update #6992

Triggered via pull request February 22, 2025 22:58
Status Success
Total duration 9m 2s
Artifacts 6

main.yml

on: pull_request
PHP Security Checker
49s
PHP Security Checker
Lint configuration
45s
Lint configuration
Lint documentation files
21s
Lint documentation files
Static analyzers
2m 12s
Static analyzers
Build application Docker image
2m 20s
Build application Docker image
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
Lint configuration
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
PHP Security Checker
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Static analyzers
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
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)
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)
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)
MixedArgumentTypeCoercion: src/Command/User/ListUserGroupsCommand.php#L103
src/Command/User/ListUserGroupsCommand.php:103:56: 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\User):non-empty-string provided (see https://psalm.dev/194)
MixedReturnTypeCoercion: src/Command/User/ListUsersCommand.php#L76
src/Command/User/ListUsersCommand.php:76:16: MixedReturnTypeCoercion: The declared return type 'array<int, string>' for App\Command\User\ListUsersCommand::getRows is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Command/User/ListUsersCommand.php#L82
src/Command/User/ListUsersCommand.php:82:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<int, string>' for App\Command\User\ListUsersCommand::getRows (see https://psalm.dev/197)
PHPUnit tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

Artifacts

Produced during runtime
Name Size
CodeCoverage
2.43 MB
PhpMetrics
484 KB
clover.xml
24.3 KB
junit.xml
45.3 KB
phploc.json
707 Bytes
psalm.json
40.7 KB