Support for PHP 8 (#2158)

painful 66 commits later: required PHP version bumped to 7.3, plugin updates using migrations necessary!
This commit is contained in:
Kevin Papst
2021-05-31 14:53:22 +02:00
committed by GitHub
parent df6bd30d03
commit 4859ac8ecb
21 changed files with 1157 additions and 1283 deletions

View File

@@ -40,7 +40,7 @@ class DurationStringToSecondsTransformer implements DataTransformerInterface
{
try {
return $this->formatter->format($intToFormat);
} catch (\Exception $e) {
} catch (\Exception | \TypeError $e) {
throw new TransformationFailedException($e->getMessage());
}
}