Skip to content

Register the idle connection listener #1413

Register the idle connection listener

Register the idle connection listener #1413

Triggered via pull request April 21, 2024 23:43
Status Failure
Total duration 33s
Artifacts

static-analysis.yml

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

Annotations

5 errors and 1 warning
InvalidArrayOffset: DependencyInjection/DoctrineExtension.php#L225
DependencyInjection/DoctrineExtension.php:225:42: InvalidArrayOffset: Cannot access value on variable $connection using offset value of 'idle_connection_ttl', expecting 'logging', 'profiling' or 'profiling_collect_backtrace' (see https://psalm.dev/115)
UndefinedThisPropertyAssignment: Middleware/IdleConnectionMiddleware.php#L26
Middleware/IdleConnectionMiddleware.php:26:9: UndefinedThisPropertyAssignment: Instance property Doctrine\Bundle\DoctrineBundle\Middleware\IdleConnectionMiddleware::$connectionName is not defined (see https://psalm.dev/040)
UndefinedClass: Middleware/IdleConnectionMiddleware.php#L31
Middleware/IdleConnectionMiddleware.php:31:20: UndefinedClass: Class, interface or enum named Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver does not exist (see https://psalm.dev/019)
UndefinedThisPropertyFetch: Middleware/IdleConnectionMiddleware.php#L31
Middleware/IdleConnectionMiddleware.php:31:100: UndefinedThisPropertyFetch: Instance property Doctrine\Bundle\DoctrineBundle\Middleware\IdleConnectionMiddleware::$connectionName is not defined (see https://psalm.dev/041)
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/.