Closed
Description
Symfony version(s) affected
6.4.6
Description
The following PR fixes a bug, but changes how isers are serialized: https://github.com/symfony/symfony/pull/54148/files
-
In 6.4.4, a property named
$isSomething
is serializedsomething
-
In 6.4.6, that property is now serialized:
isSomething
Even though previous behaviour was a bug, it is there since years and needs the right migration on our codebase. I'd advise that such a backward compatibility break could be updated on the next major upgrade.
How to reproduce
private bool $isAdmin = false;
public function isAdmin(): bool
{
return $this->isAdmin;
}
public function setIsAdmin(bool $isAdmin): self
{
$this->isAdmin = $isAdmin;
return $this;
}
Possible Solution
No response
Additional Context
No response