File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Monitoring/Sensor/Database Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525 "symfony/browser-kit" : " ^6.3|^7.0" ,
2626 "symfony/css-selector" : " ^6.3|^7.0" ,
2727 "symfony/phpunit-bridge" : " ^6.3|^7.0" ,
28- "doctrine/doctrine-bundle" : " ^2.7 " ,
28+ "doctrine/doctrine-bundle" : " ^2.14 " ,
2929 "doctrine/doctrine-migrations-bundle" : " ^3.2" ,
30- "doctrine/orm" : " ^2.14 " ,
30+ "doctrine/orm" : " ^3.0.0 " ,
3131 "symfony/twig-bundle" : " ^6.3|^7.0" ,
3232 "symfony/messenger" : " ^6.3|^7.0" ,
3333 "symfony/mercure-bundle" : " ^0.3"
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ public function run(): void
3737 * @var string $name
3838 * @var Connection $connection
3939 */
40- foreach ($ this ->container ->get (ManagerRegistry::class)->getConnections () as $ name => $ connection ) {
40+ foreach ($ this ->container ->get (ManagerRegistry::class)->getConnections () as $ connection ) {
4141 try {
4242 $ connection ->executeQuery (
43- $ connection ->getDriver ()->getDatabasePlatform ()->getDummySelectSQL ()
43+ $ connection ->getDriver ()->getDatabasePlatform ($ connection )->getDummySelectSQL ()
4444 );
4545 } catch (Exception $ e ) {
4646 $ this ->details ['exception ' ] = $ e ->getMessage ();
You can’t perform that action at this time.
0 commit comments