diff --git a/composer.json b/composer.json index d95ac738..e0413c78 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ "require-dev": { "nextcloud/ocp": "v30.0.0", "psalm/phar": "5.26.1", - "nextcloud/coding-standard": "v1.2.3", - "phpunit/phpunit": "10.5.34", - "symfony/console": "6.4.11" + "nextcloud/coding-standard": "v1.3.1", + "phpunit/phpunit": "10.5.35", + "symfony/console": "6.4.12" }, "autoload": { "psr-4": { diff --git a/lib/Db/DbFileMapper.php b/lib/Db/DbFileMapper.php index 2de51ef3..aee90d0c 100644 --- a/lib/Db/DbFileMapper.php +++ b/lib/Db/DbFileMapper.php @@ -92,7 +92,7 @@ private function getPlatformSpecificCast(): string { $cast = 'CAST(' . 'o.objectid' . ' AS UNSIGNED)'; } elseif ($platform === 'sqlite') { $cast = 'CAST(' . 'o.objectid' . ' AS INTEGER)'; - } elseif ($platform === 'postgresql') { + } elseif ($platform === 'postgres') { $cast = 'CAST(' . 'o.objectid' . ' AS BIGINT)'; } else { throw new Exception('Unsupported database platform: ' . $platform);