Add the ability to use a callback in bypassAuth in permissions #93
Annotations
13 errors and 4 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)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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