Showing 5,014 of 7,620 total issues
Method getContactData
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getContactData()
{
$Slice = new Slice();
if($this->FieldValue['Phone'] === ' '){
Method formFilterCompany
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formFilterCompany($tblSerialLetter = null)
{
$tblGroupList = \SPHERE\Application\Corporation\Group\Group::useService()->getGroupAll();
$tblGroup = \SPHERE\Application\Corporation\Group\Group::useService()->getGroupByMetaTable('COMMON');
Method getEditStudentGeneralForm
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getEditStudentGeneralForm(TblPerson $tblPerson = null)
{
/**
* Panel: Agreement
Method frontendShowCertificate
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendShowCertificate(
$PrepareId = null,
$GroupId = null,
$PersonId = null,
$Route = null
Method createAbsenceList
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAbsenceList(
IFormInterface $Stage = null,
TblDivision $tblDivision,
$BasicRoute = '',
\DateTime $date = null,
Method outerJoin
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function outerJoin($List, $ProbeList = array(), $SearchList = array())
{
$Result = array();
/** @var AbstractView $Node0 */
foreach ($List[0] as $Node0) {
Method showDeleteDebtorSelection
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function showDeleteDebtorSelection($Identifier = '', $PersonId = '', $ItemId = '', $DebtorSelectionId = '')
{
$tblDebtorSelection = Debtor::useService()->getDebtorSelectionById($DebtorSelectionId);
Method downloadMultiPdf
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function downloadMultiPdf($PrepareId = null, $Name = 'Zeugnis', $Redirect = true)
{
if ($Redirect) {
return self::displayWaitingPage('/Api/Education/Certificate/Generator/DownLoadMultiPdf', array(
Method getStudentTransferNewSchool
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getStudentTransferNewSchool()
{
$Slice = new Slice();
$Slice->addSection((new Section())
->addSliceColumn((new Slice())
Method createExtendedClassListExcel
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createExtendedClassListExcel($PersonList, $tblPersonList)
{
if (!empty( $PersonList )) {
Method createBalanceListExcel
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createBalanceListExcel($PriceList, $tblItemList = array())
{
$PersonList = array();
if(!empty($PriceList)){
Method getContent
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getContent($Data, $GroupId)
{
if (($tblPrepareAdditionalGradeType = Prepare::useService()->getPrepareAdditionalGradeTypeByIdentifier('LEVEL-10'))
&& ($tblPrepareAdditionalGradeList = Prepare::useService()->getPrepareAdditionalGradeListBy(
File Database.php
has 306 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\System\Database;
use Doctrine\Common\Cache\ArrayCache;
use Doctrine\Common\Cache\MemcachedCache;
Data
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
public function setupDatabaseContent()
{
Data
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
public function setupDatabaseContent()
{
Consider simplifying this complex logical expression. Open
Open
if (!$tblTestTemp->isContinues() // Testdatum
|| ($tblTestTemp->isContinues() // Notendatum
&& $tblGrade->getDate() && $tblTask->getDate()
&& ($taskDate = new \DateTime($tblTask->getDate()))
&& ($gradeDate = new \DateTime($tblGrade->getDate()))
Method layoutAccount
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function layoutAccount()
{
$tblAccountAll = Account::useService()->getAccountAll();
if ($tblAccountAll) {
Method changeAccount
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function changeAccount(IFormInterface $Form, TblAccount $tblAccount, $Account)
{
if (null === $Account) {
Method buildPages
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function buildPages(TblPerson $tblPerson = null){
$personId = $tblPerson ? $tblPerson->getId() : 0;
return (new Page())
Method previewMultiPdf
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function previewMultiPdf($PrepareId = null, $GroupId = null, $Name = 'Zeugnis', $Redirect = true)
{
if ($Redirect) {
return self::displayWaitingPage('/Api/Education/Certificate/Generator/PreviewMultiPdf', array(