Skip to content

Phalcon Kit CI

Phalcon Kit CI #964

Triggered via schedule March 27, 2026 04:29
Status Failure
Total duration 6m 12s
Artifacts

main.yml

on: schedule
Matrix: setup
Matrix: code-sniffer
Matrix: php-security
Matrix: static-analysis
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
static-analysis (8.4, highest): src/Support/Exposer/Exposer.php#L156
Call to function is_string() with string will always evaluate to true.
static-analysis (8.4, highest): src/Support/Exposer/Exposer.php#L99
Expression on left side of ?? is not nullable.
static-analysis (8.4, highest): src/Mvc/Model/EagerLoading/Loader.php#L399
Variable $parentName in isset() always exists and is not nullable.
static-analysis (8.4, highest): src/Mvc/Controller/Traits/Query/Save.php (in context of class PhalconKit/Mvc/Controller/Restful)#L112
Call to function is_array() with array<string, mixed> will always evaluate to true.
static-analysis (8.4, highest): src/Mvc/Controller/Traits/Query/Conditions/IdentityConditions.php (in context of class PhalconKit/Mvc/Controller/Restful)#L129
PHPDoc tag `@return` with type array|string|null is not subtype of native type array|null.
PossiblyNullArrayOffset: src/Mvc/Controller/Traits/Query/Conditions/FilterSemantics.php#L138
src/Mvc/Controller/Traits/Query/Conditions/FilterSemantics.php:138:21: PossiblyNullArrayOffset: Cannot access value on variable $aliasMap using possibly null offset null|string (see https://psalm.dev/125)
PossiblyFalseOperand: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L1450
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:1450:37: PossiblyFalseOperand: Left operand cannot be falsable, got false|int (see https://psalm.dev/162)
PossiblyFalseArgument: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L1449
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:1449:39: PossiblyFalseArgument: Argument 3 of substr cannot be false, possibly int|null value expected (see https://psalm.dev/104)
PossiblyNullArrayAccess: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L1052
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:1052:31: PossiblyNullArrayAccess: Cannot access array value on null variable (see https://psalm.dev/079)
PossiblyNullArrayAccess: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L1052
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:1052:22: PossiblyNullArrayAccess: Cannot access array value on null variable (see https://psalm.dev/079)
PossiblyNullArrayAccess: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L1052
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:1052:10: PossiblyNullArrayAccess: Cannot access array value on null variable (see https://psalm.dev/079)
RedundantConditionGivenDocblockType: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L926
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:926:76: RedundantConditionGivenDocblockType: Docblock-defined type string for $s is always string (see https://psalm.dev/156)
InvalidNullableReturnType: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L924
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:924:78: InvalidNullableReturnType: The declared return type 'string' for PhalconKit\Mvc\Controller\Traits\Query\Conditions\FilterConditions::assembleLegacyGroupSql is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
PossiblyNullArgument: src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php#L136
src/Mvc/Controller/Traits/Query/Conditions/FilterConditions.php:136:64: PossiblyNullArgument: Argument 4 of PhalconKit\Mvc\Controller\Restful::compileGroup cannot be null, possibly null value provided (see https://psalm.dev/078)
RedundantConditionGivenDocblockType: src/Mvc/Controller/Traits/Query/Compiler.php#L262
src/Mvc/Controller/Traits/Query/Compiler.php:262:17: RedundantConditionGivenDocblockType: Docblock-defined type string for $k is always string (see https://psalm.dev/156)
setup (8.4, highest)
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/cache@v4. 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/
code-sniffer (8.4, highest)
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/cache@v4. 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/
unit-tests (8.4, highest)
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/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
static-analysis (8.4, highest)
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/cache@v4. 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/
php-security (8.4, highest)
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/cache@v4. 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/