Showing 5,014 of 7,620 total issues
Method setDivisionStudents
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function setDivisionStudents(
&$Content,
TblPerson $tblPerson,
TblLevel $tblLevel,
TblDivision $tblDivision,
Method formLevelDivision
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formLevelDivision(TblLevel $tblLevel = null, TblDivision $tblDivision = null, $future = false)
{
$tblLevelAll = Division::useService()->getLevelAll();
$acNameAll = array();
Service
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Service extends AbstractService
{
/**
* @param bool $doSimulation
ApiBasket
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ApiBasket extends Extension implements IApiInterface
{
// registered method
use ApiTrait;
Service
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Service extends AbstractService
{
/**
* @param bool $doSimulation
TblDebtorSelection
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblDebtorSelection extends Element
{
const ATTR_SERVICE_TBL_PERSON_CAUSER = 'serviceTblPersonCauser';
const ATTR_SERVICE_TBL_PERSON_DEBTOR = 'serviceTblPersonDebtor';
Integration
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class Integration extends Subject
{
/**
* @param string $Name
TblTask
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblTask extends Element
{
const ATTR_TBL_TEST_TYPE = 'tblTestType';
const ATTR_SERVICE_TBL_PERIOD = 'serviceTblPeriod';
Method frontendUpdateAccount
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendUpdateAccount($Id = null, $Account = null)
{
$Stage = new Stage('Benutzerkonto', 'Bearbeiten');
$Stage->addButton(new Standard('Zurück', '/Setting/Authorization/Account', new ChevronLeft()));
Method showDeleteBasketSelection
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function showDeleteBasketSelection($Identifier = '', $BasketVerificationId = '')
{
$tblBasketVerification = Basket::useService()->getBasketVerificationById($BasketVerificationId);
if($tblBasketVerification){
Method formCreditor
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formCreditor($Identifier = '', $CreditorId = '')
{
// choose between Add and Edit
$SaveButton = new Primary('Speichern', self::getEndpoint(), new Save());
File StudentService.php
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Api\People\Meta\Transfer;
use SPHERE\Application\Corporation\Company\Service\Entity\TblCompany;
Method getFrontendStudentFilter
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getFrontendStudentFilter($modalField, $Year = null, $Division = null, $Node = null)
{
/** @var SelectBox|TextField $Field */
$Field = unserialize(base64_decode($modalField));
$CloneField = (new ApiMassReplace())->cloneField($Field, 'CloneField', 'Auswahl/Eingabe '
File EssGsHjThree.php
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Api\Education\Certificate\Generator\Repository\ESS;
use SPHERE\Application\Education\Certificate\Generator\Repository\Element;
use SPHERE\Application\Education\Certificate\Generator\Repository\Page;
Method getEmergencySlice
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getEmergencySlice()
{
$slice = new Slice();
Method getStudentsWithoutDivision
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getStudentsWithoutDivision(&$count = 0)
{
$personList = array();
if (($tblGroup = Group::useService()->getGroupByMetaTable('STUDENT'))
Method frontendSerialLetterDestroy
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendSerialLetterDestroy($Id = null, $Confirm = false)
{
$Stage = new Stage('Adresslisten für Serienbriefe', 'Löschen');
if ($Id) {
Method frontendDestroyList
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendDestroyList($Id = null, $Confirm = false)
{
$Stage = new Stage('Check-List', 'Löschen');
if ($Id) {
Method frontendStudentCourseEdit
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendStudentCourseEdit($Id = null, $Data = null, $Visible = false)
{
$Stage = new Stage('Lehrauftrag', 'Bearbeiten');
$tblIndiwareImportStudent = ($Id !== null ? Import::useService()->getIndiwareImportStudentById($Id) : false);
if (!$tblIndiwareImportStudent) {
Method createInvoiceItemDebtorList
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createInvoiceItemDebtorList($InvoiceCauserList)
{
if(!empty($InvoiceCauserList)){
$Manager = $this->getConnection()->getEntityManager();