Cherry pick/crud view after find entity event #19
Annotations
13 errors and 4 warnings
Run phpstan:
src/Model/Entity/JwtRefreshToken.php#L50
PHPDoc type array<string> of property CakeDC\Api\Model\Entity\JwtRefreshToken::$_hidden is not covariant with PHPDoc type array<int, string> of overridden property Cake\ORM\Entity::$_hidden.
|
Run phpstan
Process completed with exit code 1.
|
Run psalm:
src/Controller/AppController.php#L26
src/Controller/AppController.php:26:1: InvalidDocblock: Unrecognised annotation @psalm-suppress: (see https://psalm.dev/008)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
src/Exception/ServiceException.php#L33
src/Exception/ServiceException.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)
|
Run psalm:
src/Exception/UnauthenticatedException.php#L33
src/Exception/UnauthenticatedException.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)
|
Run psalm:
src/Exception/UnauthorizedException.php#L32
src/Exception/UnauthorizedException.php:32: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)
|
Run psalm:
src/Middleware/UnauthorizedHandler/ApiExceptionHandler.php#L37
src/Middleware/UnauthorizedHandler/ApiExceptionHandler.php:37:67: UndefinedFunction: Function CakeDC\Api\Middleware\UnauthorizedHandler\__ does not exist (see https://psalm.dev/021)
|
Run psalm:
src/Model/Entity/JwtRefreshToken.php#L50
src/Model/Entity/JwtRefreshToken.php:50:21: NonInvariantDocblockPropertyType: Property CakeDC\Api\Model\Entity\JwtRefreshToken::$_hidden has type array<array-key, string>, not invariant with Cake\Datasource\EntityTrait::$_hidden of type list<string> (see https://psalm.dev/267)
|
Run psalm:
src/Model/Table/JwtRefreshTokensTable.php#L31
src/Model/Table/JwtRefreshTokensTable.php:31:7: MethodSignatureMismatch: Method CakeDC\Api\Model\Table\JwtRefreshTokensTable::get has fewer parameters than parent method Cake\ORM\Table::get (see https://psalm.dev/042)
|
Run PHP CodeSniffer
Process completed with exit code 3.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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