Hello,
Thank you for the question.
We do have an option to align match arm bodies, but it will also align =>
.
At this moment, the only option would be to turn off the formatter at this specific expression:
//@php-format off
$whereRechnung = match ( $rechnungsFilter->value ) {
'ALLE BELEGE' => '(0=0)',
'RECHNUNGEN & LASTSCHRIFTEN' => '`Netto` > 0',
'RECHNUNGEN' => '`Netto` > 0 and `SALESORDERNR` LIKE "210%"',
'LASTSCHRIFTEN' => '`Netto` > 0 and `SALESORDERNR` LIKE "219%"',
'GRATISLIEFERUNGEN' => '`Netto` = 0 and (not `IP_FREEOFCHARGEREASONCODE` in ("ZA00","ZA01")) and `IP_SALESORDERTYPE_DESC`!="intern"',
'GUTSCHRIFTEN' => '`Netto` < 0 and `SALESORDERNR` LIKE "219%"',
'GUTSCHRIFT MIT RETOUREN' => '`IP_SALESORDERTYPE`= 1 or `IP_FREEOFCHARGEREASONCODE`="ZGN2"',
'GUTSCHRIFT OHNE RETOUREN' => '`IP_SALESORDERTYPE`= 2 or `IP_FREEOFCHARGEREASONCODE`="ZC00"',
'KORREKTURBUCHUNGEN' => '`IP_FREEOFCHARGEREASONCODE` in ( "ZA00", "ZA01") or `IP_SALESORDERTYPE_DESC`="intern"'
};
//@php-format on