Skip to content

Feature/update azure from 7.x #104

Feature/update azure from 7.x

Feature/update azure from 7.x #104

Triggered via pull request October 27, 2023 12:15
Status Failure
Total duration 49s
Artifacts

ci.yml

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

Annotations

19 errors and 21 warnings
testsuite (8.1, sqlite)
Process completed with exit code 2.
testsuite (8.2, sqlite)
Process completed with exit code 255.
Coding Standard & Static Analysis: src/Social/Mapper/Azure.php#L23
Property CakeDC\Auth\Social\Mapper\Azure::$_mapFields overriding property CakeDC\Auth\Social\Mapper\AbstractMapper::$_mapFields (array) should also have native type array.
Coding Standard & Static Analysis
Process completed with exit code 1.
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)
RedundantCast: src/Middleware/RbacMiddleware.php#L174
src/Middleware/RbacMiddleware.php:174:19: RedundantCast: Redundant cast to array (see https://psalm.dev/262)
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)
RedundantCastGivenDocblockType: src/Rbac/Rbac.php#L193
src/Rbac/Rbac.php:193:41: RedundantCastGivenDocblockType: Redundant cast to string given docblock-provided type (see https://psalm.dev/263)
RedundantCastGivenDocblockType: src/Rbac/Rbac.php#L197
src/Rbac/Rbac.php:197:79: RedundantCastGivenDocblockType: Redundant cast to string given docblock-provided type (see https://psalm.dev/263)
InvalidArrayOffset: src/Rbac/Rules/Owner.php#L99
src/Rbac/Rules/Owner.php:99:35: InvalidArrayOffset: Cannot create offset of type array|mixed|string, expecting array-key (see https://psalm.dev/115)
UndefinedFunction: src/Social/MapUser.php#L50
src/Social/MapUser.php:50:48: UndefinedFunction: Function CakeDC\Auth\Social\__ does not exist (see https://psalm.dev/021)
UndefinedFunction: src/Social/Mapper/AbstractMapper.php#L105
src/Social/Mapper/AbstractMapper.php:105:9: UndefinedFunction: Function CakeDC\Auth\Social\Mapper\collection does not exist (see https://psalm.dev/021)
NonInvariantPropertyType: src/Social/Mapper/Azure.php#L23
src/Social/Mapper/Azure.php:23:15: NonInvariantPropertyType: Property CakeDC\Auth\Social\Mapper\Azure::$_mapFields has type <empty>, not invariant with CakeDC\Auth\Social\Mapper\AbstractMapper::$_mapFields of type array<array-key, mixed> (see https://psalm.dev/265)
InvalidReturnType: src/Social/Mapper/Twitter.php#L60
src/Social/Mapper/Twitter.php:60:16: InvalidReturnType: The declared return type 'string' for CakeDC\Auth\Social\Mapper\Twitter::_avatar is incorrect, got 'array<array-key, string>|string' (see https://psalm.dev/011)
Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite (8.2, mysql)
Process completed with exit code 255.
testsuite (8.1, pgsql)
Process completed with exit code 2.
testsuite (8.1, mysql)
Process completed with exit code 2.
testsuite (8.2, pgsql)
Process completed with exit code 255.
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. 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 `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 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 `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/
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 `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 `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, 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.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.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 `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 `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/