Merge pull request #85 from arusinowski/8.next-cake5 #110
Annotations
11 errors and 3 warnings
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/Middleware/RbacMiddleware.php#L174
src/Middleware/RbacMiddleware.php:174:19: RedundantCast: Redundant cast to array (see https://psalm.dev/262)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
src/Social/MapUser.php#L50
src/Social/MapUser.php:50:48: UndefinedFunction: Function CakeDC\Auth\Social\__ does not exist (see https://psalm.dev/021)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
src/Social/Mapper/Twitter.php#L64
src/Social/Mapper/Twitter.php:64:16: InvalidReturnStatement: The inferred type 'array<array-key, string>|string' does not match the declared return type 'string' for CakeDC\Auth\Social\Mapper\Twitter::_avatar (see https://psalm.dev/128)
|
Run PHP CodeSniffer
Process completed with exit code 2.
|
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/
|
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/
|
The logs for this run have expired and are no longer available.
Loading