Using Symfony 7.1, PHPUnit 11.2 and Foundry 2.0, I got the following error:
1) /shared/httpd/ae-api/vendor/symfony/var-exporter/Internal/LazyObjectRegistry.php:94
Creation of dynamic property AE\Calendar\CalendarPeriod\Infrastructure\Persistence\Entity\CalendarPeriod::$_autoRefresh is deprecated
This is due to IsProxy::_autoRefresh affectation. I don't know exactly why this error occurred, but moving the _autoRefresh dynamic affectation in a dedicated method seems to solve this deprecation.
Using Symfony 7.1, PHPUnit 11.2 and Foundry 2.0, I got the following error:
This is due to
IsProxy::_autoRefresh
affectation. I don't know exactly why this error occurred, but moving the_autoRefresh
dynamic affectation in a dedicated method seems to solve this deprecation.Reproducer: https://github.com/zenstruck/foundry/actions/runs/9481854069/job/26125482758