Merge branch '3.4' into 4.4

* 3.4:
  deal with errors being thrown on PHP 8
This commit is contained in:
Christian Flothmann 2020-09-18 10:35:10 +02:00
commit 948e107a1b

View File

@ -110,6 +110,14 @@ class SplCaster
$a[$prefix.'⚠'] = 'The parent constructor was not called: the object is in an invalid state';
return $a;
} catch (\Error $e) {
if ('Object not initialized' !== $e->getMessage()) {
throw $e;
}
$a[$prefix.'⚠'] = 'The parent constructor was not called: the object is in an invalid state';
return $a;
}
}