DX: apply rector rulesets up to PHP 73

This commit is contained in:
2023-03-29 22:39:11 +02:00
parent b9a7530f7a
commit 4c5dae60a8
37 changed files with 129 additions and 131 deletions

View File

@@ -45,7 +45,7 @@ class Version20160818113633 extends AbstractMigration
foreach ($personIdAndCFData as $person) {
$personId = $person['id'];
$cFDataArray = unserialize($person['cfdata']);
$cFDataJson = json_encode($cFDataArray);
$cFDataJson = json_encode($cFDataArray, JSON_THROW_ON_ERROR);
$this->addSql(
'UPDATE person set cfdata = :cfdatajson WHERE id = :id',
['cfdatajson' => $cFDataJson, 'id' => $personId]