Bump super-linter/super-linter from 6 to 7 in the all-actions group #148
Annotations
10 errors
Psalm:
src/Auth/Source/Twitter.php#L25
src/Auth/Source/Twitter.php:25:18: MissingClassConstType: Class constant "SimpleSAML\Module\authtwitter\Auth\Source\Twitter::STAGE_INIT" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
src/Auth/Source/Twitter.php#L30
src/Auth/Source/Twitter.php:30:18: MissingClassConstType: Class constant "SimpleSAML\Module\authtwitter\Auth\Source\Twitter::AUTHID" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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:2610:-:closure is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)
|
Loading