Fixed error caused by ArrayType fields which is required by the webauthn bundle but was removed in doctrine/orm 4.0

We simple forward port the ArrayType class from orm 3.8 to fix this error
This commit is contained in:
Jan Böhmer 2024-06-10 21:11:11 +02:00
parent 777f6ba738
commit 971bb92a8c
2 changed files with 120 additions and 0 deletions

View file

@ -17,6 +17,10 @@ doctrine:
class: App\Doctrine\Types\BigDecimalType
tinyint:
class: App\Doctrine\Types\TinyIntType
# This was removed in doctrine/orm 4.0 but we need it for the WebauthnKey entity
array:
class: App\Doctrine\Types\ArrayType
schema_filter: ~^(?!internal)~
# Only enable this when needed