Showing 5,014 of 7,620 total issues
Method frontendSubjectTeacherShow
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendSubjectTeacherShow($Id)
{
$Stage = new Stage('Lehrer', 'Auswahl');
$tblDivision = Division::useService()->getDivisionById($Id);
Method isChecked
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function isChecked($RequestKey, $Value)
{
if (preg_match('!^(.*?)\[(.*?)\]$!is', $RequestKey, $Match)) {
if (false === strpos($Match[2], '[')) {
Method getStudentFilterResult
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getStudentFilterResult($Person, $Year, $Division)
{
$Pile = new Pile(Pile::JOIN_TYPE_INNER);
$Pile->addPile((new ViewPeopleGroupMember())->getViewService(), new ViewPeopleGroupMember(),
Method frontendLayoutToken
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLayoutToken()
{
$headerList = array(
'Serial' => 'Seriennummer',
File ApiUserGroup.php
has 265 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Api\Platform\Gatekeeper;
use SPHERE\Application\Api\ApiTrait;
use SPHERE\Application\Api\Dispatcher;
Method buildPages
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function buildPages(TblPerson $tblPerson = null)
{
$personId = $tblPerson ? $tblPerson->getId() : 0;
Method firstPage
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function firstPage($personId)
{
$Page = (new Page())
->addSlice(
(new Slice())
Method firstPage
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function firstPage($personId)
{
$Page = (new Page())
->addSlice(
(new Slice())
Method createSchoolFeeList
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createSchoolFeeList()
{
$tblPersonList = Group::useService()->getPersonAllByGroup(Group::useService()->getGroupByName('Schüler'));
$TableContent = array();
Method frontendStudentCoursePrepare
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendStudentCoursePrepare()
{
$Stage = new Stage('Indiware', 'Datentransfer');
$Stage->addButton(new Standard('Zurück', '/Transfer/Indiware/Import', new ChevronLeft()));
Method getInvoiceCauserList
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getInvoiceCauserList(
$Year,
$Month,
$BasketName,
$ItemName,
Method frontendAccountFibu
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendAccountFibu($Account = null)
{
$Stage = new Stage();
$Stage->setTitle('FIBU-Konten');
Method updateTask
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateTask(IFormInterface $Stage = null, $Id, $Task)
{
/**
* Skip to Frontend
Method updateScoreTypeDivisionSubject
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateScoreTypeDivisionSubject(
IFormInterface $Stage = null,
TblScoreType $tblScoreType,
TblYear $tblYear = null,
$Data = null
Method frontendLinkPerson
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendLinkPerson($Id = null)
{
$Stage = new Stage('', 'Zuordnung');
$Stage->addButton(new Standard('Zurück', '/Education/Lesson/Subject', new ChevronLeft()));
Method flushCache
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public function flushCache($Region = null)
{
/** @var MemcachedHandler $Cache */
$Cache = $this->getCache(new MemcachedHandler());
ApiDebtorSelection
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ApiDebtorSelection extends Extension implements IApiInterface
{
// registered method
use ApiTrait;
Consider simplifying this complex logical expression. Open
Open
if (($fromLevel = $tblStudentSubject->getServiceTblLevelFrom())
&& ($tillLevel = $tblStudentSubject->getServiceTblLevelTill())
&& $fromLevel->getName()
&& $tillLevel->getName()
&& floatval($fromLevel->getName()) <= floatval($level)
Service
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Service extends AbstractService
{
/**
* @param bool $doSimulation
* @param bool $withData
TblUntisImportLectureship
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblUntisImportLectureship extends Element
{
const ATTR_SERVICE_TBL_YEAR = 'serviceTblYear';