Showing 5,014 of 7,620 total issues
Method insertStudentIntegration
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPerson $IntegrationPerson = null,
TblCompany $IntegrationCompany = null,
$CoachingRequestDate,
$CoachingCounselDate,
$CoachingDecisionDate,
Method updateSupport
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function updateSupport(TblSupport $tblSupport,
TblSupportType $tblSupportType,
$Date,
$PersonEditor = '',
$Company = '',
Method updateHandyCap
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function updateHandyCap(TblHandyCap $tblHandyCap,
$Date,
$PersonEditor = '',
$LegalBasis = '',
$LearnTarget = '',
Method updatePerson
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPerson $tblPerson,
$Salutation,
$Title,
$FirstName,
$SecondName,
Method createHandyCap
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function createHandyCap(TblPerson $serviceTblPerson,
$Date,
$PersonEditor = '',
$LegalBasis = '',
$LearnTarget = '',
Method createPerson
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function createPerson($Salutation, $Title, $FirstName, $SecondName, $CallName, $LastName, $BirthName = '', $ImportId = '')
Consider simplifying this complex logical expression. Open
Open
if (($tblTask = $tblTest->getTblTask())
&& $tblTask->getFromDate()
&& $tblTask->getToDate()
&& ($fromDate = new \DateTime($tblTask->getFromDate()))
&& ($toDate = new \DateTime($tblTask->getToDate()))
Method createTask
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblTestType $tblTestType,
$Name,
$Date = null,
$FromDate = null,
$ToDate = null,
Method createProposalBehaviorGrade
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblDivision $tblDivision,
TblTask $tblTask,
TblGradeType $tblGradeType,
TblPerson $tblPerson,
TblPerson $tblPersonTeacher,
Method updateGrade
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblGrade $tblGrade,
$Grade,
$Comment = '',
$PublicComment = '',
$Trend = 0,
Consider simplifying this complex logical expression. Open
Open
if ($tblDivisionStudentItem->getLeaveDateTime() !== null
&& $tblDivisionStudentItem->getUseGradesInNewDivision()
&& ($tblDivisionItem = $tblDivisionStudentItem->getTblDivision())
&& $tblDivision->getId() != $tblDivisionItem->getId()
&& ($tblYearItem = $tblDivisionItem->getServiceTblYear())
Method updateGradeType
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblGradeType $tblGradeType,
$Name,
$Code,
$Description,
$IsHighlighted,
Consider simplifying this complex logical expression. Open
Open
if (($tblConsumer = Consumer::useService()->getConsumerBySession())
&& $tblConsumer->getAcronym() == 'EVSR'
&& $tblGenerateCertificate
&& ($tblCertificateType = $tblGenerateCertificate->getServiceTblCertificateType())
&& $tblCertificateType->getIdentifier() != 'RECOMMENDATION'
Method updatePrepareExamGrades
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IFormInterface $form,
TblPrepareCertificate $tblPrepare,
TblSubject $tblCurrentSubject,
TblSubject $tblNextSubject = null,
$IsFinalGrade = null,
Method createPrepareAdditionalGrade
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPrepareCertificate $tblPrepareCertificate,
TblPerson $tblPerson,
TblSubject $tblSubject,
TblPrepareAdditionalGradeType $tblPrepareAdditionalGradeType,
$ranking,
Method createPrepareAdditionalGrade
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPrepareCertificate $tblPrepareCertificate,
TblPerson $tblPerson,
TblSubject $tblSubject,
TblPrepareAdditionalGradeType $tblPrepareAdditionalGradeType,
$ranking,
Method frontendPrepareDiplomaSetting
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$PrepareId = null,
$GroupId = null,
$SubjectId = null,
$Route = null,
$IsNotSubject = null,
Consider simplifying this complex logical expression. Open
Open
if (($tblPerson = $tblPrepareStudent->getServiceTblPerson())
&& ($tblPrepare = $tblPrepareStudent->getTblPrepareCertificate())
&& $tblPrepareStudent->getServiceTblCertificate()
&& !$tblPrepareStudent->isPrinted()
&& ($tblDivisionItem = $tblPrepare->getServiceTblDivision())
Method updateGenerateCertificate
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblGenerateCertificate $tblGenerateCertificate,
$Date,
$IsDivisionTeacherAvailable,
$HeadmasterName,
TblCommonGender $tblCommonGender = null,
Consider simplifying this complex logical expression. Open
Open
if ($SubjectAcronym == 'DE' || $SubjectAcronym == 'D') {
$tblSubject = Subject::useService()->getSubjectByAcronym('DE');
if (!$tblSubject) {
$tblSubject = Subject::useService()->getSubjectByAcronym('D');
}