10.next cake5 Add the ability to use a callback in bypassAuth in permissions #146
Annotations
14 errors and 3 warnings
Run phpstan:
src/Authentication/AuthenticationService.php#L74
Call to an undefined method Authentication\Authenticator\AuthenticatorInterface::getConfig().
|
Run phpstan:
src/Authentication/AuthenticationService.php#L98
Instantiated class CakeDC\Auth\Authentication\Result not found.
|
Run phpstan
Process completed with exit code 1.
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
src/Authenticator/FormAuthenticator.php#L96
src/Authenticator/FormAuthenticator.php:96:48: UndefinedFunction: Function CakeDC\Auth\Authenticator\__ does not exist (see https://psalm.dev/021)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run PHP CodeSniffer
Process completed with exit code 2.
|
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/
|
Get composer cache directory
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/
|
Get date part for cache key
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/
|
Loading