Showing 5,014 of 7,620 total issues
Method setLeaveContentForSekOne
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblCertificate $tblCertificate = null,
TblLeaveStudent $tblLeaveStudent = null,
TblDivision $tblDivision = null,
TblPerson $tblPerson = null,
$Data,
Method createExamsButtonList
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPrepareCertificate $tblPrepare,
&$tblCurrentSubject,
&$tblNextSubject,
$tblTestList,
$SubjectId,
Method createGenerateCertificate
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblYear $tblYear,
$Date,
$Name,
TblCertificateType $tblCertificateType,
TblTask $tblAppointedDateTask = null,
Method setStatusForDay
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPerson $tblPerson,
TblAbsence $tblAbsence,
TblYear $tblYear,
&$studentTable,
\DateTime $date,
Method countStudentLevels
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
TblPerson $tblPerson,
TblLevel $tblLevel,
&$gender,
$hasMigrationBackground,
$isInPreparationDivisionForMigrants,
Method getContent
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getContent()
{
return new Layout(
new LayoutGroup(
Method getCompanySchoolByPerson
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCompanySchoolByPerson(TblPerson $tblPerson, $IsParent = false)
{
$tblCompany = false;
if($IsParent){
Method registerRoute
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function registerRoute(RouteParameter $Route)
{
try {
if (Access::useService()->hasAuthorization($Route->getPath())) {
Method setupDatabaseSchema
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setupDatabaseSchema($Simulate = true, $UTF8 = false)
{
/**
* Table
Method getDownloadForm
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getDownloadForm($ViewType = TblWorkSpace::VIEW_TYPE_ALL) {
$tblAccount = Account::useService()->getAccountBySession();
if(!empty($tblAccount)) {
$tblWorkspaceAll = Individual::useService()->getWorkSpaceAllByAccount($tblAccount, $ViewType);
if (!empty($tblWorkspaceAll)) {
Method replaceLevelTillByPersonIdList
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function replaceLevelTillByPersonIdList(
$PersonIdArray = array(),
TblLevel $tblLevel = null,
TblStudentSubjectType $tblStudentSubjectType,
TblStudentSubjectRanking $tblStudentSubjectRanking
Method replaceLevelFromByPersonIdList
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function replaceLevelFromByPersonIdList(
$PersonIdArray = array(),
TblLevel $tblLevel = null,
TblStudentSubjectType $tblStudentSubjectType,
TblStudentSubjectRanking $tblStudentSubjectRanking
Method checkInputDebtorNumber
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function checkInputDebtorNumber($Identifier = '', $PersonId = '', $DebtorNumberId = '',
$DebtorNumber = array()
){
$Error = false;
Method getCMSHead
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCMSHead($PictureHeight = 100)
{
if ($this->isSample()) {
$Header = (new Slice)->addSection((new Section())
Method getESRLDivisionAndYear
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getESRLDivisionAndYear($personId)
{
$Section = (new Section());
$Section->addElementColumn((new Element())
Method createMultiPdf
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function createMultiPdf(TblPerson $tblPerson, $tblSchoolTypeList, $paperOrientation = 'PORTRAIT')
{
$Data['Person']['Id'] = $tblPerson->getId();
$pageList = array();
Method getEZSHCustody
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getEZSHCustody()
{
$SectionList = array();
$SectionList[] = (new Section())->addElementColumn((new Element())
Method setFieldValue
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setFieldValue($DataPost)
{
// PersonGender
$this->FieldValue['Gender'] = '';
Method countSubject
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function countSubject($tblPersonList, $SubjectType)
{
$result = array();
if (empty( $tblPersonList )) {
Method createAddressPerson
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAddressPerson(
TblSerialLetter $tblSerialLetter,
TblPerson $tblPerson,
TblPerson $tblPersonToAddress,
TblToPerson $tblToPerson = null,