Skip to content

fix: #160 redirect to the actual redirect_uri after verifying that it matches the registered tool host #207

fix: #160 redirect to the actual redirect_uri after verifying that it matches the registered tool host

fix: #160 redirect to the actual redirect_uri after verifying that it matches the registered tool host #207

Triggered via pull request January 27, 2025 20:25
Status Failure
Total duration 40s
Artifacts

build.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

53 errors
UnusedClass: src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php#L36
src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php:36:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\LtiResourceLinkLaunchRequestBuilder is never used (see https://psalm.dev/075)
UnusedClass: src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php#L35
src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php:35:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\ToolOriginatingLaunchBuilder is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Platform\PlatformLaunchValidatorInterface::validateToolOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L32
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:32:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getRegistration (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L34
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getPayload (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L36
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:36:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getState (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Tool\ToolLaunchValidatorInterface::validatePlatformOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L45
src/Message/LtiMessageInterface.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::getUrl (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L53
src/Message/LtiMessageInterface.php:53:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlLink (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L55
src/Message/LtiMessageInterface.php:55:21: PossiblyUnusedMethod: Cannot find explicit calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlRedirectForm (but did find some potential callers) (see https://psalm.dev/087)
UnusedClass: src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php#L36
src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php:36:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\LtiResourceLinkLaunchRequestBuilder is never used (see https://psalm.dev/075)
UnusedClass: src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php#L35
src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php:35:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\ToolOriginatingLaunchBuilder is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Platform\PlatformLaunchValidatorInterface::validateToolOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L32
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:32:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getRegistration (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L34
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getPayload (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L36
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:36:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getState (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Tool\ToolLaunchValidatorInterface::validatePlatformOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L45
src/Message/LtiMessageInterface.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::getUrl (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L53
src/Message/LtiMessageInterface.php:53:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlLink (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L55
src/Message/LtiMessageInterface.php:55:21: PossiblyUnusedMethod: Cannot find explicit calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlRedirectForm (but did find some potential callers) (see https://psalm.dev/087)
UnusedClass: src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php#L36
src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php:36:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\LtiResourceLinkLaunchRequestBuilder is never used (see https://psalm.dev/075)
UnusedClass: src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php#L35
src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php:35:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\ToolOriginatingLaunchBuilder is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Platform\PlatformLaunchValidatorInterface::validateToolOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L32
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:32:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getRegistration (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L34
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getPayload (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L36
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:36:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getState (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Tool\ToolLaunchValidatorInterface::validatePlatformOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L45
src/Message/LtiMessageInterface.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::getUrl (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L53
src/Message/LtiMessageInterface.php:53:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlLink (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L55
src/Message/LtiMessageInterface.php:55:21: PossiblyUnusedMethod: Cannot find explicit calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlRedirectForm (but did find some potential callers) (see https://psalm.dev/087)
MissingTemplateParam: src/Resource/ResourceCollectionInterface.php#L28
src/Resource/ResourceCollectionInterface.php:28:58: MissingTemplateParam: OAT\Library\Lti1p3Core\Resource\ResourceCollectionInterface has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Util/Collection/CollectionInterface.php#L30
src/Util/Collection/CollectionInterface.php:30:39: MissingTemplateParam: OAT\Library\Lti1p3Core\Util\Collection\CollectionInterface has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
build (8, false)
Process completed with exit code 2.
UnusedClass: src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php#L36
src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php:36:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\LtiResourceLinkLaunchRequestBuilder is never used (see https://psalm.dev/075)
UnusedClass: src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php#L35
src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php:35:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\ToolOriginatingLaunchBuilder is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Platform\PlatformLaunchValidatorInterface::validateToolOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L32
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:32:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getRegistration (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L34
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getPayload (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L36
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:36:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getState (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Tool\ToolLaunchValidatorInterface::validatePlatformOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L45
src/Message/LtiMessageInterface.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::getUrl (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L53
src/Message/LtiMessageInterface.php:53:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlLink (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L55
src/Message/LtiMessageInterface.php:55:21: PossiblyUnusedMethod: Cannot find explicit calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlRedirectForm (but did find some potential callers) (see https://psalm.dev/087)
UnusedClass: src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php#L36
src/Message/Launch/Builder/LtiResourceLinkLaunchRequestBuilder.php:36:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\LtiResourceLinkLaunchRequestBuilder is never used (see https://psalm.dev/075)
UnusedClass: src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php#L35
src/Message/Launch/Builder/ToolOriginatingLaunchBuilder.php:35:7: UnusedClass: Class OAT\Library\Lti1p3Core\Message\Launch\Builder\ToolOriginatingLaunchBuilder is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Platform/PlatformLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Platform\PlatformLaunchValidatorInterface::validateToolOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L32
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:32:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getRegistration (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L34
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getPayload (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php#L36
src/Message/Launch/Validator/Result/LaunchValidationResultInterface.php:36:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface::getState (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php#L34
src/Message/Launch/Validator/Tool/ToolLaunchValidatorInterface.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\Launch\Validator\Tool\ToolLaunchValidatorInterface::validatePlatformOriginatingLaunch (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L45
src/Message/LtiMessageInterface.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::getUrl (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L53
src/Message/LtiMessageInterface.php:53:21: PossiblyUnusedMethod: Cannot find any calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlLink (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Message/LtiMessageInterface.php#L55
src/Message/LtiMessageInterface.php:55:21: PossiblyUnusedMethod: Cannot find explicit calls to method OAT\Library\Lti1p3Core\Message\LtiMessageInterface::toHtmlRedirectForm (but did find some potential callers) (see https://psalm.dev/087)