Skip to content

Register the idle connection listener #1432

Register the idle connection listener

Register the idle connection listener #1432

Triggered via pull request April 30, 2024 23:29
Status Failure
Total duration 36s
Artifacts

static-analysis.yml

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

Annotations

5 errors and 1 warning
UndefinedClass: Middleware/IdleConnectionMiddleware.php#L34
Middleware/IdleConnectionMiddleware.php:34:20: UndefinedClass: Class, interface or enum named Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver does not exist (see https://psalm.dev/019)
ParseError: Tests/DependencyInjection/Compiler/MiddlewarePassTest.php#L176
Tests/DependencyInjection/Compiler/MiddlewarePassTest.php:176:9: ParseError: Syntax error, unexpected T_VARIABLE on line 176 (see https://psalm.dev/173)
InvalidArgument: Tests/Middleware/IdleConnectionMiddlewareTest.php#L21
Tests/Middleware/IdleConnectionMiddlewareTest.php:21:52: InvalidArgument: Argument 1 of Doctrine\Bundle\DoctrineBundle\Middleware\IdleConnectionMiddleware::__construct expects ArrayObject<string, int>, but ArrayObject<'connectionone'|'connectiontwo', int<-29, max>> provided (see https://psalm.dev/004)
UndefinedClass: Tests/Middleware/IdleConnectionMiddlewareTest.php#L27
Tests/Middleware/IdleConnectionMiddlewareTest.php:27:33: UndefinedClass: Class, interface or enum named Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver does not exist (see https://psalm.dev/019)
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/.