Skip to content

Bump codecov/codecov-action from 4 to 5 in the all-actions group #160

Bump codecov/codecov-action from 4 to 5 in the all-actions group

Bump codecov/codecov-action from 4 to 5 in the all-actions group #160

Triggered via push November 18, 2024 16:58
Status Success
Total duration 26m 29s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Cleanup artifacts
2s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
TypeDoesNotContainType: src/Consent/Store/Cookie.php#L138
src/Consent/Store/Cookie.php:138:14: TypeDoesNotContainType: Type string for $_COOKIE[$cookieName] is always !string (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Consent/Store/Database.php#L390
src/Consent/Store/Database.php:390:13: RiskyTruthyFalsyComparison: Operand of type false|list<null|scalar> contains type list<null|scalar>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Consent/Store/Database.php#L405
src/Consent/Store/Database.php:405:13: RiskyTruthyFalsyComparison: Operand of type false|list<null|scalar> contains type list<null|scalar>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Consent/Store/Database.php#L419
src/Consent/Store/Database.php:419:13: RiskyTruthyFalsyComparison: Operand of type false|list<null|scalar> contains type list<null|scalar>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ArgumentTypeCoercion: src/Controller/ConsentController.php#L99
src/Controller/ConsentController.php:99:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
DocblockTypeContradiction: src/Controller/ConsentController.php#L101
src/Controller/ConsentController.php:101:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
ArgumentTypeCoercion: src/Controller/ConsentController.php#L248
src/Controller/ConsentController.php:248:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
DocblockTypeContradiction: src/Controller/ConsentController.php#L249
src/Controller/ConsentController.php:249:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
ArgumentTypeCoercion: src/Controller/ConsentController.php#L297
src/Controller/ConsentController.php:297:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
DocblockTypeContradiction: src/Controller/ConsentController.php#L298
src/Controller/ConsentController.php:298:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
LessSpecificReturnType: src/Consent/Store/Database.php#L430
src/Consent/Store/Database.php:430:16: LessSpecificReturnType: The inferred return type 'PDO' for SimpleSAML\Module\consent\Consent\Store\Database::getDB is more specific than the declared return type 'PDO|false' (see https://psalm.dev/088)
PropertyNotSetInConstructor: tests/src/Auth/Process/ConsentTest.php#L19
tests/src/Auth/Process/ConsentTest.php:19:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest::$config is not defined in constructor of SimpleSAML\Test\Module\consent\Auth\Process\ConsentTest or in any methods called in the constructor (see https://psalm.dev/074)
PossiblyUndefinedVariable: tests/src/Auth/Process/ConsentTest.php#L218
tests/src/Auth/Process/ConsentTest.php:218:13: PossiblyUndefinedVariable: Possibly undefined variable $instanceVars, first seen on line 218 (see https://psalm.dev/018)