fix flow #23
Annotations
13 errors and 4 warnings
Run phpstan:
src/Middleware/ParseApiRequestMiddleware.php#L126
Variable $response might not be defined.
|
Run phpstan:
src/Rbac/ApiRbac.php#L1
Ignored error pattern #^Instantiated class CakeDC\\Api\\Rbac\\Permissions\\AbstractProvider is abstract\.$# in path /home/runner/work/cakephp-api/cakephp-api/src/Rbac/ApiRbac.php was not matched in reported errors.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtLoginAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtLoginAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtLoginAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtRefreshAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtRefreshAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtRefreshAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run phpstan:
src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
|
Run psalm:
psalm.xml#L4
Attribute "allowCoercionFromStringToClassConst" is deprecated and is going to be removed in the next major version (see https://psalm.dev/271)
|
Run psalm
Process completed with exit code 2.
|
Run PHP CodeSniffer
Process completed with exit code 1.
|
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