Showing 5,014 of 7,620 total issues
Method getHistoryByPerson
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getHistoryByPerson($PersonId = '')
{
if(!$tblPerson = Person::useService()->getPersonById($PersonId)){
return new Warning('Person nicht gefunden');
Method setGradeMirror
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setGradeMirror(TblScoreType $tblScoreType = null, $gradeList, $Grade)
{
$minRange = null;
$maxRange = null;
if ($tblScoreType) {
Method frontendResetApprovePrepareDivision
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendResetApprovePrepareDivision(
$PrepareId = null,
$DivisionId = null,
$IsLeave = false,
$Route = '/Education/Certificate/Approve/Prepare',
Method setPrepareDivisionSelectData
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setPrepareDivisionSelectData($tblDivision, $Route, $tableData, $GroupId = false)
{
/** @var TblDivision $tblDivision */
$tblPrepareAllByDivision = Prepare::useService()->getPrepareAllByDivision($tblDivision);
Method frontendApprovePrepareDivision
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendApprovePrepareDivision(
$PrepareId = null,
$DivisionId = null,
$IsLeave = false,
$Route = '/Education/Certificate/Approve/Prepare',
Function ModAlways
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.ModAlways = function ()
{
$(document).ready(function ()
{
// MOVED TO FORM
Method firstPage
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function firstPage($personId)
{
$Page = (new Page())
->addSlice(
(new Slice())
Method firstPage
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function firstPage($personId)
{
$Page = (new Page())
->addSlice(
(new Slice())
Method createPhoneListExcel
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createPhoneListExcel($PersonList)
{
if (!empty($PersonList)) {
Method registerModule
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function registerModule()
{
Main::getDisplay()->addModuleNavigation(
new Link(new Link\Route(__NAMESPACE__.'/ClassList'), new Link\Name('Klassenlisten'))
Method createAddressPersonGuardian
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAddressPersonGuardian(TblSerialLetter $tblSerialLetter)
{
$tblSerialPersonList = SerialLetter::useService()->getSerialPersonBySerialLetter($tblSerialLetter);
if ($tblSerialPersonList) {
$CreateArray = array();
Method frontendDashboard
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendDashboard()
{
$Stage = new Stage('Dashboard', 'Import');
Method widgetPersonGroupList
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function widgetPersonGroupList()
{
$tblGroupAll = Group::useService()->getGroupAllSorted();
$tblGroupLockedList = array();
Method getBasicFormRow
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getBasicFormRow($isCreate)
{
$tblSalutationAll = Person::useService()->getSalutationAll();
$tblGroupList = Group::useService()->getGroupAllSorted();
Method filterDivisionSubjectList
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function filterDivisionSubjectList(
$tblDivisionSubjectList,
TblYear $filterYear = null,
TblType $filterType = null,
TblLevel $filterLevel = null
Method updateAbiturPrepareInformation
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateAbiturPrepareInformation(
IFormInterface $form,
TblPrepareCertificate $tblPrepare,
TblPerson $tblPerson,
$Data,
Method countCourses
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function countCourses(
TblLevel $tblLevel,
TblDivision $tblDivision,
&$countAdvancedCourseArray,
&$countBasicCourseArray,
Method setCoursesMatrix
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function setCoursesMatrix(
&$Content,
$personAdvancedCourseList
) {
File Frontend.php
has 268 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Platform\System\Anonymous;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Account\Account;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Consumer;
File TblGrade.php
has 268 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Education\Graduation\Gradebook\Service\Entity;
use Doctrine\ORM\Mapping\Cache;
use Doctrine\ORM\Mapping\Column;