diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 15:06:52 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 16:28:28 +0200 |
commit | 8857599656f0ad14253084388fab7570208b21db (patch) | |
tree | 44d4033a45243aa5e1c4cab277db109f00e25de4 /apps/dav | |
parent | ee756579a7d9af56f0aa36d4437e5c1c67f42309 (diff) | |
download | nextcloud-server-8857599656f0ad14253084388fab7570208b21db.tar.gz nextcloud-server-8857599656f0ad14253084388fab7570208b21db.zip |
DateRangeError in PHP>=8.3 is not a ValueError anymore
Fixing 32bit CI on PHP>=8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/CalDavBackendTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php index acf5504eb66..3da6ca61b7e 100644 --- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php +++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php @@ -656,7 +656,7 @@ EOS; try { $actual = $this->backend->getDenormalizedData($calData); $this->assertEquals($expected, $actual[$key]); - } catch (\ValueError $e) { + } catch (\Throwable $e) { if (($e->getMessage() === 'Epoch doesn\'t fit in a PHP integer') && (PHP_INT_SIZE < 8)) { $this->markTestSkipped('This fail on 32bits because of PHP limitations in DateTime'); } |