Showing 5,014 of 7,620 total issues
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 1600);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 1050);
}
Avoid deeply nested control flow statements. Open
Open
if ($tblSchoolTypePrimary) {
$this->updateCertificate($tblCertificate, $tblCertificateTypeHalfYear,
$tblSchoolTypePrimary,
null, true);
if (!$this->getCertificateLevelAllByCertificate($tblCertificate)) {
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 1000);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateLevelAllByCertificate($tblCertificate)) {
if (($tblLevel = Division::useService()->getLevelBy($tblSchoolTypeSecondary, '5'))) {
$this->createCertificateLevel($tblCertificate, $tblLevel);
}
if (($tblLevel = Division::useService()->getLevelBy($tblSchoolTypeSecondary, '6'))) {
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 2300);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateGradeAll($tblCertificate)) {
$this->setCertificateGradeAllStandard($tblCertificate);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 1500);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 3600);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 2900);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateSubjectAll($tblCertificate)) {
$this->setCertificateSubject($tblCertificate, 'DE', 1, 1);
$this->setCertificateSubject($tblCertificate, 'EN', 1, 2);
$this->setCertificateSubject($tblCertificate, 'KU', 1, 3);
$this->setCertificateSubject($tblCertificate, 'MU', 1, 4);
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateGradeAll($tblCertificate)) {
$this->setCertificateGradeAllStandard($tblCertificate);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 1000);
}
Avoid deeply nested control flow statements. Open
Open
if ($tblSchoolTypePrimary) {
$this->updateCertificate($tblCertificate, $tblCertificateTypeYear, $tblSchoolTypePrimary);
if (!$this->getCertificateLevelAllByCertificate($tblCertificate)) {
if (($tblLevel = Division::useService()->getLevelBy($tblSchoolTypePrimary, '1'))) {
$this->createCertificateLevel($tblCertificate, $tblLevel);
Avoid deeply nested control flow statements. Open
Open
if ($tblSchoolTypePrimary) {
$this->updateCertificate($tblCertificate, $tblCertificateTypeHalfYear,
$tblSchoolTypePrimary,
null, true);
if (($tblLevel = Division::useService()->getLevelBy($tblSchoolTypePrimary, '1'))) {
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 820);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 430);
}
Avoid deeply nested control flow statements. Open
Open
if ($tblSchoolTypePrimary) {
$this->updateCertificate($tblCertificate, $tblCertificateTypeYear, $tblSchoolTypePrimary);
if (!$this->getCertificateLevelAllByCertificate($tblCertificate)) {
if (($tblLevel = Division::useService()->getLevelBy($tblSchoolTypePrimary, '1'))) {
$this->createCertificateLevel($tblCertificate, $tblLevel);
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 3500);
}
Avoid deeply nested control flow statements. Open
Open
if (!$this->getCertificateFieldByCertificateAndField($tblCertificate, $FieldName)) {
$this->createCertificateField($tblCertificate, $FieldName, 3500);
}