Skip to content

Bump the all-actions group with 2 updates #133

Bump the all-actions group with 2 updates

Bump the all-actions group with 2 updates #133

Triggered via push February 5, 2024 19:03
Status Failure
Total duration 4m 53s
Artifacts 1

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
6s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PossiblyNullPropertyAssignmentValue: src/Auth/Source/Twitter.php#L62
src/Auth/Source/Twitter.php:62:24: PossiblyNullPropertyAssignmentValue: $this->scope with non-nullable declared type 'string' cannot be assigned nullable type 'null|string' (see https://psalm.dev/148)
ArgumentTypeCoercion: src/Auth/Source/Twitter.php#L143
src/Auth/Source/Twitter.php:143:13: ArgumentTypeCoercion: Argument 2 of League\OAuth1\Client\Server\Twitter::getTokenCredentials expects string, but parent type null|scalar provided (see https://psalm.dev/193)
PossiblyNullArgument: src/Auth/Source/Twitter.php#L143
src/Auth/Source/Twitter.php:143:13: PossiblyNullArgument: Argument 2 of League\OAuth1\Client\Server\Twitter::getTokenCredentials cannot be null, possibly null value provided (see https://psalm.dev/078)
ArgumentTypeCoercion: src/Auth/Source/Twitter.php#L144
src/Auth/Source/Twitter.php:144:13: ArgumentTypeCoercion: Argument 3 of League\OAuth1\Client\Server\Twitter::getTokenCredentials expects string, but parent type null|scalar provided (see https://psalm.dev/193)
PossiblyNullArgument: src/Auth/Source/Twitter.php#L144
src/Auth/Source/Twitter.php:144:13: PossiblyNullArgument: Argument 3 of League\OAuth1\Client\Server\Twitter::getTokenCredentials cannot be null, possibly null value provided (see https://psalm.dev/078)
ArgumentTypeCoercion: src/Controller/Twitter.php#L54
src/Controller/Twitter.php:54:54: ArgumentTypeCoercion: Argument 1 of base64_decode expects string, but parent type scalar provided (see https://psalm.dev/193)
DocblockTypeContradiction: src/Controller/Twitter.php#L57
src/Controller/Twitter.php:57:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
InvalidReturnType: src/Controller/Twitter.php#L84
src/Controller/Twitter.php:84:40: InvalidReturnType: /home/runner/work/simplesamlphp-module-authtwitter/simplesamlphp-module-authtwitter/src/controller/twitter.php:84:2607:-:closure is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)
Quality control
Process completed with exit code 2.
Code coverage
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

Artifacts

Produced during runtime
Name Size
coverage-data Expired
201 KB