Skip to content

fix: Fix Psalm warnings in test files #8299

fix: Fix Psalm warnings in test files

fix: Fix Psalm warnings in test files #8299

Re-run triggered May 7, 2026 12:49
Status Success
Total duration 9m 36s
Artifacts 6

main.yml

on: pull_request
PHP Security Checker
52s
PHP Security Checker
Lint configuration
44s
Lint configuration
Lint documentation files
7s
Lint documentation files
Static analyzers
2m 12s
Static analyzers
Build application Docker image
2m 14s
Build application Docker image
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
MixedArgumentTypeCoercion: src/Rest/Traits/RestResourceBaseMethods.php#L107
src/Rest/Traits/RestResourceBaseMethods.php:107:53: MixedArgumentTypeCoercion: Argument 1 of App\Repository\Interfaces\BaseRepositoryInterface::findOneBy expects array<string, mixed>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/Rest/Traits/RestResourceBaseMethods.php#L50
src/Rest/Traits/RestResourceBaseMethods.php:50:71: MixedArgumentTypeCoercion: Argument 2 of App\Repository\Interfaces\BaseRepositoryInterface::findByAdvanced expects array<string, string>|null, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
Build application Docker image
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
CodeCoverage
2.39 MB
sha256:db4ee5cba5b74acbe2dc3611e68749ef1b57a68a2bbd7d60420750f480ac099e
PhpMetrics
426 KB
sha256:e148e1c02b563b514dd034e77dbdd15e265c119cbabd3c1e8adec1c08bce3d82
clover.xml
25.1 KB
sha256:2fd6e513585a260404e0065db00974bfd1ba2f3fe27c0c16ab6f49610731f200
junit.xml
45.3 KB
sha256:42fb109293debe4f70fe402fea9a8432353e98add47811e01e826877e6e03cef
phploc.json
698 Bytes
sha256:2dcad64e8c83fa638514fb67a6a2d194e489a1fa88259cfe892874fc9de2947e
psalm.json
680 Bytes
sha256:5a1ff44fa893ba2dcf6f576099048051aaae1fae2c85a0837948a083fe8b5089