Showing 5,014 of 7,620 total issues
Method createCompaniesFromFile
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createCompaniesFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Method getPriceListByItemAndYear
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getPriceListByItemAndYear(
TblItem $tblItem,
$Year,
$MonthFrom = '1',
$MonthTo = '12',
Method formSpecial
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function formSpecial($PersonId, $SpecialId = null, $IsCanceled = false, $IsInit = false)
{
$Global = $this->getGlobal();
if($SpecialId != null && !isset($Global->POST['Data']['Date'])) {
Method getStudentTransferEnrollmentPanel
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function getStudentTransferEnrollmentPanel(TblStudent $tblStudent = null)
{
$enrollmentCompany = '';
$enrollmentType = '';
$enrollmentTransferType = '';
Method getStudentTransferArrivePanel
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function getStudentTransferArrivePanel(TblStudent $tblStudent = null)
{
$arriveCompany = '';
$arriveStateCompany = '';
$arriveType = '';
Method setMinimumGradeCountReporting
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setMinimumGradeCountReporting($Data, $IsDivisionTeacher, $PersonId = null)
{
$stage = new Stage('Mindestnotenanzahl', 'Auswertung');
$stage->addButton(new Standard(
'Zurück',
Method frontendEditGradeType
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendEditGradeType($Id = null, $GradeType = null)
{
$Stage = new Stage('Zensuren-Typ', 'Bearbeiten');
Method setHeaderButtonList
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setHeaderButtonList(Stage $Stage, $view)
{
$hasTeacherRight = Access::useService()->hasAuthorization('/Education/Certificate/Prepare/Teacher');
$hasHeadmasterRight = Access::useService()->hasAuthorization('/Education/Certificate/Prepare/Headmaster');
$hasDiplomaRight = Access::useService()->hasAuthorization('/Education/Certificate/Prepare/Diploma');
Method getMessageForSubjectGroup
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getMessageForSubjectGroup()
{
$list = array();
if ($this->isFilterSet()
&& ($tblDivisionSubject = $this->getTblDivisionSubject())
Method frontendEditAbsence
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendEditAbsence($Id = null, $BasicRoute = '', $Data = null)
{
$Stage = new Stage('Fehlzeiten', 'Bearbeiten');
$tblAbsence = Absence::useService()->getAbsenceById($Id);
Method registerModule
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function registerModule()
{
Main::getDisplay()->addModuleNavigation(
new Link(new Link\Route(__NAMESPACE__), new Link\Name('Klassen')
Method outerJoin
has 55 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 frontendStudentList
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendStudentList()
{
$Stage = new Stage('SchülerListe');
File Frontend.php
has 258 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Reporting\Custom\Hormersdorf\Person;
use SPHERE\Application\Education\Lesson\Division\Division;
File Frontend.php
has 258 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 18.12.2018
File Frontend.php
has 258 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Transfer\Import\FuxMedia;
use SPHERE\Application\Education\Lesson\Term\Term;
File Service.php
has 257 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Billing\Accounting\Debtor;
use SPHERE\Application\Billing\Accounting\Debtor\Service\Data;
use SPHERE\Application\Billing\Accounting\Debtor\Service\Entity\TblBankAccount;
AbstractField
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class AbstractField extends Extension implements IFieldInterface
{
/** @var string $Name */
protected $Name;
ApiRelationshipToCompany
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ApiRelationshipToCompany extends Extension implements IApiInterface
{
use ApiTrait;
TblItem
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblItem extends Element
{
const ATTR_NAME = 'Name';