Skip to content

Add the ability to use a callback in bypassAuth in permissions #138

Add the ability to use a callback in bypassAuth in permissions

Add the ability to use a callback in bypassAuth in permissions #138

Triggered via pull request September 17, 2024 11:20
Status Failure
Total duration 2m 44s
Artifacts

ci.yml

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

Annotations

13 errors and 28 warnings
testsuite (8.1, mysql)
Process completed with exit code 2.
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
UndefinedFunction: src/Authenticator/FormAuthenticator.php#L96
src/Authenticator/FormAuthenticator.php:96:48: UndefinedFunction: Function CakeDC\Auth\Authenticator\__ does not exist (see https://psalm.dev/021)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
RedundantCast: src/Middleware/RbacMiddleware.php#L174
src/Middleware/RbacMiddleware.php:174:19: RedundantCast: Redundant cast to array (see https://psalm.dev/262)
RiskyTruthyFalsyComparison: src/Rbac/Permissions/ConfigProvider.php#L83
src/Rbac/Permissions/ConfigProvider.php:83:13: RiskyTruthyFalsyComparison: Operand of type mixed|null contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UnsafeInstantiation: src/Rbac/Rbac.php#L83
src/Rbac/Rbac.php:83:36: UnsafeInstantiation: Cannot safely instantiate class CakeDC\Auth\Rbac\Permissions\AbstractProvider with "new $class_name" as its constructor might change in child classes (see https://psalm.dev/229)
Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite (8.2, mysql)
Process completed with exit code 2.
testsuite (8.1, mysql)
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/
testsuite (8.1, mysql)
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/
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/
testsuite (8.2, pgsql)
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/
testsuite (8.2, pgsql)
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/
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/
Coding Standard & Static Analysis
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/
Coding Standard & Static Analysis
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/
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.2, mysql)
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/
testsuite (8.2, mysql)
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/
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, sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.1, sqlite)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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.1, pgsql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (8.1, pgsql)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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, sqlite)
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/
testsuite (8.2, sqlite)
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/
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/