From 1ff49d68aa08f8f94ae1a2e1d6c53fb9aebf7337 Mon Sep 17 00:00:00 2001 From: GS Date: Sat, 7 Mar 2026 16:11:02 +0100 Subject: [PATCH 1/2] Fix fetchValue call with connection parameter --- libraries/classes/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Table.php b/libraries/classes/Table.php index 3e92ff536f..a5531c0d29 100644 --- a/libraries/classes/Table.php +++ b/libraries/classes/Table.php @@ -1824,7 +1824,7 @@ class Table implements Stringable // Remove some old rows in table_uiprefs if it exceeds the configured // maximum rows $sqlQuery = 'SELECT COUNT(*) FROM ' . $table; - $rowsCount = (int) $this->dbi->fetchValue($sqlQuery); + $rowsCount = (int) $this->dbi->fetchValue($sqlQuery, 0, DatabaseInterface::CONNECT_CONTROL) $maxRows = (int) $GLOBALS['cfg']['Server']['MaxTableUiprefs']; if ($rowsCount > $maxRows) { $numRowsToDelete = $rowsCount - $maxRows; From c15edf86fefb8b7763667a038d4d1c54e33110ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 7 Mar 2026 17:03:45 -0300 Subject: [PATCH 2/2] Add --no-cache --threads=max to composer update:baselines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ci skip] Signed-off-by: MaurĂ­cio Meneghini Fauth --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 44cd690d30..6db5b1b52e 100644 --- a/composer.json +++ b/composer.json @@ -144,7 +144,7 @@ ], "update:baselines": [ "@php phpstan analyse --generate-baseline", - "@php psalm --set-baseline=psalm-baseline.xml" + "@php psalm --no-cache --threads=max --set-baseline=psalm-baseline.xml" ], "twig-lint": "@php scripts/console lint:twig --ansi --show-deprecations" },