Showing 5,014 of 7,620 total issues
Data
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
/**
* @return false|ViewPerson[]
Service
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Service extends AbstractService
{
/**
* @param bool $doSimulation
Method __construct
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false, $Anchor = null)
{
if( !empty( $Anchor ) ) {
$this->setName($Name.' '.new Link() );
Method formSchoolCompanyCreate
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function formSchoolCompanyCreate()
{
$PanelSelectCompanyTitle = new PullClear(
'Schule auswählen:'
Method getRelationshipList
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getRelationshipList(TblPerson $tblPerson, $list, $isDeepSearch)
{
if (($tblRelationshipList = Relationship::useService()->getPersonRelationshipAllByPerson($tblPerson))) {
foreach ($tblRelationshipList as $tblToPerson) {
if (($tblType = $tblToPerson->getTblType())
Method setFieldValue
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setFieldValue($DataPost)
{
// echo new Code(print_r($DataPost, true));
// exit;
Method createClassListExcel
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createClassListExcel($PersonList, $tblPersonList)
{
if (!empty( $PersonList )) {
Method loadNameDefinition
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function loadNameDefinition()
{
// //NameDefinition
$this->setNameDefinition(self::TBL_SUBJECT_NAME_FOREIGN_LANGUAGE_1, 'Fremdsprache 1: Fach');
Method formCreateStandard
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function formCreateStandard(TblAccount $tblAccount)
{
// possible Filter
$DataAll = $this->FilterPackAll;
Method frontendRight
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendRight($Name = null)
{
$Stage = new Stage('Berechtigungen', 'Rechte');
$this->menuButton($Stage);
Method getInvoiceUpPaidList
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getInvoiceUpPaidList()
{
$TableContent = array();
if($tblInvoiceItemDebtorList = Invoice::useService()->getInvoiceItemDebtorByIsPaid()){
Method getDebtorTable
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getDebtorTable($GroupId)
{
$TableContent = array();
if(($tblGroup = Group::useService()->getGroupById($GroupId))){
Method createTask
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createTask(IFormInterface $Stage = null, $Task, TblYear $tblYear = null)
{
/**
* Skip to Frontend
Method getAbsenceAllByDay
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getAbsenceAllByDay(\DateTime $dateTime, TblType $tblType = null, $divisionList = array())
{
$resultList = array();
$tblAbsenceList = array();
if (!empty($divisionList)
File StudentSelect.php
has 256 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 30.05.2017
File Integration.php
has 256 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\People\Meta\Student\Service\Data;
use SPHERE\Application\Corporation\Company\Service\Entity\TblCompany;
use SPHERE\Application\People\Meta\Student\Service\Entity\TblStudent;
Method processRow
has 17 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PhpExcel $Document,
$Location,
$RunY,
$countPerson,
$countCompany,
Method getCustodyFilterForm
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getCustodyFilterForm()
{
$tblLevelShowList = array();
$tblLevelList = Division::useService()->getLevelAll();
Method frontendPasswordGeneration
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendPasswordGeneration($Id = null, $Path = '/Setting/User', $IsParent = false, $Data = null)
{
$Stage = new Stage('Account Passwort', 'neu generieren');
if ($Id) {
Method frontendLayoutCompanyNew
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLayoutCompanyNew(TblCompany $tblCompany)
{
if (($tblAddressList = Address::useService()->getAddressAllByCompany($tblCompany))){
$LayoutRowList = array();