update tooling. fix tests and phpunit notices. remove deprecations. - #106
Closed
skie wants to merge 2 commits into
Closed
update tooling. fix tests and phpunit notices. remove deprecations.#106skie wants to merge 2 commits into
skie wants to merge 2 commits into
Annotations
10 errors and 3 warnings
|
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/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/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/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/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/Authentication/TwoFactorProcessor/U2FProcessor.php#L117
src/Authentication/TwoFactorProcessor/U2FProcessor.php:117:55: UndefinedClass: Class, interface or enum named CakeDC\Auth\Authentication\U2fAuthenticationCheckerInterface does not exist (see https://psalm.dev/019)
|
|
Run psalm:
src/Authentication/TwoFactorProcessor/U2FProcessor.php#L75
src/Authentication/TwoFactorProcessor/U2FProcessor.php:75:16: UndefinedClass: Class, interface or enum named CakeDC\Auth\Authentication\U2fAuthenticationCheckerInterface does not exist (see https://psalm.dev/019)
|
|
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/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/AuthenticationService.php#L76
src/Authentication/AuthenticationService.php:76:56: UndefinedInterfaceMethod: Method Authentication\Authenticator\AuthenticatorInterface::getConfig does not exist (see https://psalm.dev/181)
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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/
|
|
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/
|
background
wait
wait-all
cancel
parallel
Loading