Skip to content

Attempt to use ProcessingChain for authproc filter invocation #144

Attempt to use ProcessingChain for authproc filter invocation

Attempt to use ProcessingChain for authproc filter invocation #144

Triggered via push December 8, 2023 23:32
Status Failure
Total duration 1m 32s
Artifacts 1

php.yml

on: push
Matrix: basic-tests
Security checks
28s
Security checks
Quality control
42s
Quality control
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 18 warnings
MixedInferredReturnType: src/Auth/Source/OAuth2.php#L158
src/Auth/Source/OAuth2.php:158:16: MixedInferredReturnType: Could not verify return type 'League\OAuth2\Client\Provider\AbstractProvider' for SimpleSAML\Module\authoauth2\Auth\Source\OAuth2::getProvider (see https://psalm.dev/047)
MixedArgument: src/Auth/Source/OAuth2.php#L203
src/Auth/Source/OAuth2.php:203:78: MixedArgument: Argument 2 of SimpleSAML\Configuration::getOptionalString cannot be mixed|string, expecting null|string (see https://psalm.dev/030)
MixedMethodCall: src/Auth/Source/OAuth2.php#L203
src/Auth/Source/OAuth2.php:203:89: MixedMethodCall: Cannot determine the type of $provider when calling method getBaseAuthorizationUrl (see https://psalm.dev/015)
MixedReturnStatement: src/Auth/Source/OAuth2.php#L204
src/Auth/Source/OAuth2.php:204:16: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Auth/Source/OAuth2.php#L204
src/Auth/Source/OAuth2.php:204:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
PossiblyUndefinedArrayOffset: src/OAuth2ResponseHandler.php#L94
src/OAuth2ResponseHandler.php:94:40: PossiblyUndefinedArrayOffset: Possibly undefined array key $request['code'] on array<array-key, mixed> (see https://psalm.dev/167)
PossiblyNullArgument: src/OAuth2ResponseHandler.php#L94
src/OAuth2ResponseHandler.php:94:40: PossiblyNullArgument: Argument 2 of SimpleSAML\Module\authoauth2\Auth\Source\OAuth2::finalStep cannot be null, possibly null value provided (see https://psalm.dev/078)
MixedArgument: tests/lib/Auth/Source/OAuth2Test.php#L166
tests/lib/Auth/Source/OAuth2Test.php:166:56: MixedArgument: Argument 3 of Test\SimpleSAML\Auth\Source\OAuth2Test::setupAndCallFinalSteps cannot be mixed, expecting League\OAuth2\Client\Token\AccessToken (see https://psalm.dev/030)
MixedInferredReturnType: tests/lib/Auth/Source/OAuth2Test.php#L434
tests/lib/Auth/Source/OAuth2Test.php:434:46: MixedInferredReturnType: Providers must return iterable<array-key, array<array-key, mixed>>, possibly different array<array-key, mixed> provided (see https://psalm.dev/047)
MixedArgument: tests/lib/Auth/Source/OAuth2Test.php#L462
tests/lib/Auth/Source/OAuth2Test.php:462:45: MixedArgument: Argument 2 of Test\SimpleSAML\Auth\Source\OAuth2Test::assertArrayNotHasKey cannot be mixed, expecting ArrayAccess|array<array-key, mixed> (see https://psalm.dev/030)
Syntax and unit tests, PHP 8.0, ubuntu-latest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Security checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Security checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Security checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Syntax and unit tests, PHP 7.4, ubuntu-latest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Syntax and unit tests, PHP 8.2, ubuntu-latest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Syntax and unit tests, PHP 8.1, ubuntu-latest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Quality control
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
MixedAssignment: src/AttributeManipulator.php#L24
src/AttributeManipulator.php:24:36: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/AttributeManipulator.php#L54
src/AttributeManipulator.php:54:44: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedArgument: src/AttributeManipulator.php#L63
src/AttributeManipulator.php:63:23: MixedArgument: Argument 1 of strval cannot be mixed, expecting null|object|scalar (see https://psalm.dev/030)
MixedAssignment: src/AttributeManipulator.php#L74
src/AttributeManipulator.php:74:36: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Auth/Source/BitbucketAuth.php#L44
src/Auth/Source/BitbucketAuth.php:44:13: MixedAssignment: Unable to determine the type that $response is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Auth/Source/BitbucketAuth.php#L63
src/Auth/Source/BitbucketAuth.php:63:21: MixedArrayAccess: Cannot access array value on mixed variable $response['values'] (see https://psalm.dev/051)
MixedArrayAccess: src/Auth/Source/BitbucketAuth.php#L63
src/Auth/Source/BitbucketAuth.php:63:21: MixedArrayAccess: Cannot access array value on mixed variable $response['values'][$i] (see https://psalm.dev/051)
MixedArrayAccess: src/Auth/Source/BitbucketAuth.php#L63
src/Auth/Source/BitbucketAuth.php:63:72: MixedArrayAccess: Cannot access array value on mixed variable $response['values'] (see https://psalm.dev/051)
MixedArrayAccess: src/Auth/Source/BitbucketAuth.php#L63
src/Auth/Source/BitbucketAuth.php:63:72: MixedArrayAccess: Cannot access array value on mixed variable $response['values'][$i] (see https://psalm.dev/051)
MixedArrayAssignment: src/Auth/Source/BitbucketAuth.php#L65
src/Auth/Source/BitbucketAuth.php:65:21: MixedArrayAssignment: Cannot access array value on mixed variable $state['Attributes'][string] (see https://psalm.dev/117)

Artifacts

Produced during runtime
Name Size
build-data Expired
2.59 MB