Showing 5,014 of 7,620 total issues
Avoid deeply nested control flow statements. Open
Open
if ($Salutation === 'Herr' || $Salutation === 'Frau') {
$isReady = false;
}
Avoid deeply nested control flow statements. Open
Open
if (null === $Entity) {
$Entity = new TblAddressPerson();
$Entity->setTblSerialLetter($tblSerialLetter);
$Entity->setServiceTblPerson($tblPerson);
$Entity->setServiceTblPersonToAddress($tblPersonTo);
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterYear)) {
foreach ($FilterYear as $FieldName => $FilterList) {
foreach ($FilterList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterRelationship)) {
foreach ($FilterRelationship as $FieldName => $FilterList) {
foreach ($FilterList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if ($tblToCompany->getServiceTblCompany()->getId() === $tblRelationship->getServiceTblCompany()->getId()) {
$RelationShip = $tblType->getName();
$subDataList[] = array(
'Salutation' => $tblPerson->getSalutation(),
'Person' => $tblPerson->getFullName(),
Avoid deeply nested control flow statements. Open
Open
if (!in_array($tblAddress->getId(), $Address)) {
$result++;
}
Avoid deeply nested control flow statements. Open
Open
if ($tblProspectReservation) {
$DataPerson['ProspectYear'] = $tblProspectReservation->getReservationYear();
$DataPerson['ProspectDivision'] = $tblProspectReservation->getReservationDivision();
}
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterStudent)) {
foreach ($FilterStudent as $FieldName => $FilterNumberList) {
foreach ($FilterNumberList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if ($tblProspect) {
$tblProspectReservation = $tblProspect->getTblProspectReservation();
$AddressList[$tblPerson->getId().$tblAddress->getId()]['ReservationDivision'] = $tblProspectReservation->getReservationDivision();
$AddressList[$tblPerson->getId().$tblAddress->getId()]['ReservationYear'] = $tblProspectReservation->getReservationYear();
if ($tblProspectReservation->getServiceTblTypeOptionA()) {
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterGroup)) {
foreach ($FilterGroup as $FieldName => $FilterList) {
foreach ($FilterList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
if ($SaveFilterField) {
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterGroup)) {
foreach ($FilterGroup as $FieldName => $FilterList) {
foreach ($FilterList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if ($Division === '') {
$Division = new Small(new Muted('-NA-'));
}
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterGroup)) {
foreach ($FilterGroup as $FieldName => $FilterList) {
foreach ($FilterList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if (!empty($FilterCompany)) {
foreach ($FilterCompany as $FieldName => $FilterNumberList) {
foreach ($FilterNumberList as $FilterNumber => $FieldValue) {
if ($FieldValue) {
( new Data($this->getBinding()) )->createFilterField($tblSerialLetter, $tblFilterCategory,
Avoid deeply nested control flow statements. Open
Open
if ($tblCity) {
if (!isset($Data[$tblCity->getId()])) {
$Data[$tblCity->getId()] = $tblCity->getName();
}
}
Avoid deeply nested control flow statements. Open
Open
if (isset($Address['PersonLastName']) && !empty($Address['PersonLastName'])) {
if (isset($Address['PersonSalutation'])
&& count($Address['PersonLastName']) > 1
) {
// Personen mit gleichem Nachnamen
Avoid deeply nested control flow statements. Open
Open
if (null === $Entity) {
$Entity = new TblAddressPerson();
$Entity->setTblSerialLetter($tblSerialLetter);
$Entity->setServiceTblPerson($tblPerson);
$Entity->setServiceTblPersonToAddress($tblPersonTo);
Avoid deeply nested control flow statements. Open
Open
if ($Salutation !== 'Herr' && $Salutation !== 'Frau') {
$isReady = false;
}
Avoid deeply nested control flow statements. Open
Open
if ($tblPerson->getId() !== $tblGuardian->getServiceTblPersonFrom()->getId()) {
$GuardianList[] = $tblGuardian->getServiceTblPersonFrom();
}
Avoid deeply nested control flow statements. Open
Open
if (!empty($ToPersonChooseList)) {
$count = 0;
foreach ($ToPersonChooseList as $ToPersonChoose) {