chore: upgrade to symfony 7.4

This commit is contained in:
Björn Fromme committed 2026-04-16 17:11:16 +02:00
1 parent 3da73d626b
commit 91332b7eb0
8 files changed
+2033 -40

No files matched your search

@@ -24,8 +24,10 @@ class PersonalDataParser extends AbstractParser
$personalData->name = $this->getStringOrNullValue($addressDataNode->filterXPath('//name'));
$personalData->salutation = $this->getStringOrNullValue($addressDataNode->filterXPath('//anrede'));
$personalData->title = $this->getStringOrNullValue($addressDataNode->filterXPath('//titel'));
$personalData->gender = strtoupper($this->getStringOrNullValue($addressDataNode->filterXPath('//geschlecht')));
$personalData->nationality = strtoupper($this->getStringOrNullValue($addressDataNode->filterXPath('//nationalitaet')));
$gender = $this->getStringOrNullValue($addressDataNode->filterXPath('//geschlecht'));
$nationality = $this->getStringOrNullValue($addressDataNode->filterXPath('//nationalitaet'));
$personalData->gender = null !== $gender ? strtoupper($gender) : null;
$personalData->nationality = null !== $nationality ? strtoupper($nationality) : null;
$personalData->height = $this->getStringOrNullValue($addressDataNode->filterXPath('//sonstiges1'));
$personalData->weight = $this->getStringOrNullValue($addressDataNode->filterXPath('//sonstiges2'));
+5 -1
View File
@@ -74,8 +74,12 @@ class AppRuntime implements RuntimeExtensionInterface
return $this->intlExtension->formatCurrency((float) $price, 'EUR');
}
public function mapStatus(string $status): string
public function mapStatus(?string $status): string
{
if (null === $status) {
return '';
}
$status = strtoupper($status);
return match ($status) {