Skip to content

10.next cake5 Add the ability to use a callback in bypassAuth in permissions #147

10.next cake5 Add the ability to use a callback in bypassAuth in permissions

10.next cake5 Add the ability to use a callback in bypassAuth in permissions #147

Triggered via pull request December 12, 2024 15:54
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
Coding Standard & Static Analysis
22s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 21 warnings
Coding Standard & Static Analysis: src/Authentication/AuthenticationService.php#L74
Call to an undefined method Authentication\Authenticator\AuthenticatorInterface::getConfig().
Coding Standard & Static Analysis: src/Authentication/AuthenticationService.php#L98
Instantiated class CakeDC\Auth\Authentication\Result not found.
Coding Standard & Static Analysis
Process completed with exit code 1.
UndefinedInterfaceMethod: src/Authentication/AuthenticationService.php#L74
src/Authentication/AuthenticationService.php:74:56: UndefinedInterfaceMethod: Method Authentication\Authenticator\AuthenticatorInterface::getConfig does not exist (see https://psalm.dev/181)
UndefinedClass: src/Authentication/AuthenticationService.php#L98
src/Authentication/AuthenticationService.php:98:27: UndefinedClass: Class, interface or enum named CakeDC\Auth\Authentication\Result does not exist (see https://psalm.dev/019)
RiskyTruthyFalsyComparison: src/Authentication/DefaultOneTimePasswordAuthenticationChecker.php#L59
src/Authentication/DefaultOneTimePasswordAuthenticationChecker.php:59:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Authentication/DefaultWebauthn2FAuthenticationChecker.php#L42
src/Authentication/DefaultWebauthn2FAuthenticationChecker.php:42:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MissingTemplateParam: src/Authentication/TwoFactorProcessorCollection.php#L23
src/Authentication/TwoFactorProcessorCollection.php:23:47: MissingTemplateParam: CakeDC\Auth\Authentication\TwoFactorProcessorCollection has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
RiskyTruthyFalsyComparison: src/Authenticator/CookieAuthenticator.php#L41
src/Authenticator/CookieAuthenticator.php:41:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null|object contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedFunction: src/Authenticator/FormAuthenticator.php#L96
src/Authenticator/FormAuthenticator.php:96:48: UndefinedFunction: Function CakeDC\Auth\Authenticator\__ does not exist (see https://psalm.dev/021)
RiskyTruthyFalsyComparison: src/Authenticator/SocialAuthenticator.php#L66
src/Authenticator/SocialAuthenticator.php:66:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Authenticator/SocialAuthenticator.php#L82
src/Authenticator/SocialAuthenticator.php:82:14: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Authenticator/TwoFactorAuthenticator.php#L86
src/Authenticator/TwoFactorAuthenticator.php:86:14: RiskyTruthyFalsyComparison: Operand of type ArrayAccess|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite (8.1, mysql)
Process completed with exit code 2.
testsuite (8.2, mysql)
Process completed with exit code 2.
testsuite (8.2, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Coding Standard & Static Analysis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.1, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.1, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.1, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.2, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.2, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
testsuite (8.2, sqlite)
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/
testsuite (8.2, sqlite)
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/
Coding Standard & Static Analysis
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/
Coding Standard & Static Analysis
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/
testsuite (8.2, pgsql)
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/
testsuite (8.2, pgsql)
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/
testsuite (8.1, mysql)
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/
testsuite (8.1, mysql)
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/
testsuite (8.2, mysql)
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/
testsuite (8.2, mysql)
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/
testsuite (8.1, sqlite)
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/
testsuite (8.1, sqlite)
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/
testsuite (8.1, pgsql)
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/
testsuite (8.1, pgsql)
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/