mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
DX: apply rector rulesets up to PHP 73
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user