fix: suppress LazyGhostTrait deprecation message

This commit is contained in:
Maël Gangloff 2025-10-27 00:59:34 +01:00
parent ef5744eed1
commit 3dda89b49e
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@ doctrine:
use_savepoints: true use_savepoints: true
orm: orm:
auto_generate_proxy_classes: true auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true enable_native_lazy_objects: true
report_fields_where_declared: true report_fields_where_declared: true
validate_xml_mapping: true validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware

View File

@ -56,7 +56,6 @@ class Nameserver
* @var Collection<int, Domain> * @var Collection<int, Domain>
*/ */
#[ORM\ManyToMany(targetEntity: Domain::class, mappedBy: 'nameservers')] #[ORM\ManyToMany(targetEntity: Domain::class, mappedBy: 'nameservers')]
#[Groups(['nameserver:item'])]
private Collection $domains; private Collection $domains;
public function __construct() public function __construct()