Skip to content

Register the idle connection listener #1442

Register the idle connection listener

Register the idle connection listener #1442

Triggered via pull request May 2, 2024 13:09
Status Failure
Total duration 50s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis with Psalm
39s
Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
InvalidReturnType: src/Middleware/IdleConnectionMiddleware.php#L32
src/Middleware/IdleConnectionMiddleware.php:32:43: InvalidReturnType: The declared return type 'Doctrine\DBAL\Driver' for Doctrine\Bundle\DoctrineBundle\Middleware\IdleConnectionMiddleware::wrap is incorrect, got 'Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver' (see https://psalm.dev/011)
InvalidReturnStatement: src/Middleware/IdleConnectionMiddleware.php#L34
src/Middleware/IdleConnectionMiddleware.php:34:16: InvalidReturnStatement: The inferred type 'Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver' does not match the declared return type 'Doctrine\DBAL\Driver' for Doctrine\Bundle\DoctrineBundle\Middleware\IdleConnectionMiddleware::wrap (see https://psalm.dev/128)
Static Analysis with Psalm
Process completed with exit code 2.
Static Analysis with Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.