Skip to content

Feature/port 2fa features #44

Feature/port 2fa features

Feature/port 2fa features #44

Triggered via pull request May 5, 2025 08:29
Status Failure
Total duration 55s
Artifacts

ci.yml

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

Annotations

32 errors and 20 warnings
testsuite (8.1, sqlite)
Process completed with exit code 1.
testsuite (8.2, sqlite)
Process completed with exit code 1.
testsuite (8.3, pgsql)
Process completed with exit code 1.
testsuite (8.2, pgsql)
Process completed with exit code 1.
testsuite (8.1, pgsql)
Process completed with exit code 1.
testsuite (8.2, mysql)
Process completed with exit code 1.
testsuite (8.1, mysql)
Process completed with exit code 1.
testsuite (8.1, mysql): src/TestSuite/IntegrationTestCase.php#L220
Failed asserting that 500 matches expected 422.
testsuite (8.1, mysql): src/TestSuite/IntegrationTestCase.php#L193
Failed asserting that two strings are equal.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC/Api/Service/Action/Auth/JwtRefreshAction)#L118
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC/Api/Service/Action/Auth/JwtLoginAction)#L146
Method CakeDC\Api\Service\Action\Auth\JwtLoginAction::getWebauthn2fAuthenticationChecker() has invalid return type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC/Api/Service/Action/Auth/JwtLoginAction)#L118
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtSocialLoginAction.php#L40
Method CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction::generateTokenResponse() invoked with 1 parameter, 2 required.
Coding Standard & Static Analysis: src/Rbac/Rules/TwoFactorScope.php#L34
Return type mixed of method CakeDC\Api\Rbac\Rules\TwoFactorScope::allowed() is not covariant with return type bool of method CakeDC\Auth\Rbac\Rules\AbstractRule::allowed().
Coding Standard & Static Analysis: src/Rbac/Rules/TwoFactorScope.php#L28
Property CakeDC\Api\Rbac\Rules\TwoFactorScope::$_defaultConfig overriding property CakeDC\Auth\Rbac\Rules\AbstractRule::$_defaultConfig (array) should also have native type array.
Coding Standard & Static Analysis: src/Rbac/Rules/TwoFactorPassedScope.php#L34
Return type mixed of method CakeDC\Api\Rbac\Rules\TwoFactorPassedScope::allowed() is not covariant with return type bool of method CakeDC\Auth\Rbac\Rules\AbstractRule::allowed().
Coding Standard & Static Analysis: src/Rbac/Rules/TwoFactorPassedScope.php#L28
Property CakeDC\Api\Rbac\Rules\TwoFactorPassedScope::$_defaultConfig overriding property CakeDC\Auth\Rbac\Rules\AbstractRule::$_defaultConfig (array) should also have native type array.
Coding Standard & Static Analysis: src/Model/Entity/AuthStore.php#L27
Property CakeDC\Api\Model\Entity\AuthStore::$_accessible overriding property Cake\ORM\Entity::$_accessible (array) should also have native type array.
Coding Standard & Static Analysis: src/Command/ServiceRoutesCommand.php#L69
Strict comparison using === between CakeDC\Api\Service\Service and null will always evaluate to false.
RiskyTruthyFalsyComparison: src/Exception/MethodNotAllowedException.php#L33
src/Exception/MethodNotAllowedException.php:33:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedClass: src/Controller/AppController.php#L26
src/Controller/AppController.php:26:29: UndefinedClass: Class, interface or enum named App\Controller\AppController does not exist (see https://psalm.dev/019)
InvalidDocblock: src/Controller/AppController.php#L26
src/Controller/AppController.php:26:7: InvalidDocblock: Unrecognised annotation @psalm-suppress: in docblock for CakeDC\Api\Controller\AppController (see https://psalm.dev/008)
InvalidDocblock: src/Controller/AppController.php#L26
src/Controller/AppController.php:26:1: InvalidDocblock: Unrecognised annotation @psalm-suppress: (see https://psalm.dev/008)
RiskyTruthyFalsyComparison: src/Command/ServiceRoutesCommand.php#L106
src/Command/ServiceRoutesCommand.php:106:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Command/ServiceRoutesCommand.php#L90
src/Command/ServiceRoutesCommand.php:90:17: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedFunction: src/Command/ServiceRoutesCommand.php#L70
src/Command/ServiceRoutesCommand.php:70:24: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
RiskyTruthyFalsyComparison: src/Command/ServiceRoutesCommand.php#L64
src/Command/ServiceRoutesCommand.php:64:13: RiskyTruthyFalsyComparison: Operand of type bool|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedFunction: src/Command/ServiceRoutesCommand.php#L46
src/Command/ServiceRoutesCommand.php:46:23: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
UndefinedFunction: src/Command/ServiceRoutesCommand.php#L44
src/Command/ServiceRoutesCommand.php:44:33: UndefinedFunction: Function CakeDC\Api\Command\__ does not exist (see https://psalm.dev/021)
Coding Standard & Static Analysis
Process completed with exit code 3.
testsuite (8.3, mysql)
Process completed with exit code 1.
testsuite (8.3, sqlite)
Process completed with exit code 1.
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.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/
testsuite (8.3, 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.3, 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.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, 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/
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, 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/
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.3, 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.3, 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.3, 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.3, 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/