VSVverkeerskunde/gvq-api

View on GitHub

Showing 1,426 of 1,426 total issues

Line exceeds 120 characters; contains 135 characters
Open

            'quiz_total_fr' => $this->employeeParticipationRepository->countPassedByCompanyAndLanguage($companyId, new Language('fr')),

Line exceeds 120 characters; contains 138 characters
Open

        $companyPassedUniqueParticipantPercentage = $this->dashboardService->uniquePassedParticipantsPercentages($activeCompany->getId());

Line exceeds 120 characters; contains 204 characters
Open

        // select count(distinct t.email) from detailed_top_score t inner join employee_participation e ON (t.email=e.email) where e.company_id='01eb0ee6-ee25-4bb5-8b4e-a6b7213b548a' and t.language=‘nl'

Line exceeds 120 characters; contains 124 characters
Open

            'answer1' => $rankedCompanyParticipant->getAnswer1() ? $rankedCompanyParticipant->getAnswer1()->toNative() : '',

Line exceeds 120 characters; contains 124 characters
Open

            'answer2' => $rankedCompanyParticipant->getAnswer2() ? $rankedCompanyParticipant->getAnswer2()->toNative() : '',

Line exceeds 120 characters; contains 143 characters
Open

            'quiz_total_nl' => $this->employeeParticipationRepository->getAverageTopScoreForCompanyAndLanguage($companyId, new Language('nl')),

Line exceeds 120 characters; contains 228 characters
Open

        throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.');
Severity: Minor
Found in public/index.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

                    if ($input->getOption('projector') !== 'quiz' && $domainMessage->getPayload() instanceof QuizFinished) {

Line exceeds 120 characters; contains 161 characters
Open

                    ->innerJoin(TopScoreEntity::class, 'topScore', Join::WITH, 'employee.email = topScore.email AND topScore.score >= :minimal_score_to_succeed')

Line exceeds 120 characters; contains 130 characters
Open

            ->setDescription('Sends the kick-off e-mail to active company responsibles who registered before the kick-off date.');

Line exceeds 120 characters; contains 136 characters
Open

                ->innerJoin(TeamParticipantEntity::class, 't', Join::WITH, 'e.contestParticipant.email = t.email AND t.teamId=:team_id')

Line exceeds 120 characters; contains 133 characters
Open

            'dateOfBirth' => $contestParticipant->getDateOfBirth() ? $contestParticipant->getDateOfBirth()->format(DATE_ATOM) : null,

Line exceeds 120 characters; contains 133 characters
Open

            ->innerJoin(DetailedTopScoreEntity::class, 'score', Join::WITH, 'score.email = participation.email AND score.score >= 7')

Line exceeds 120 characters; contains 139 characters
Open

        $msg = 'sending kick-off e-mail for ' . count($registrations) . ' registrations before ' . $this->quizKickOffDate->format('Y-m-d');

Line exceeds 120 characters; contains 135 characters
Open

            'quiz_total_nl' => $this->employeeParticipationRepository->countPassedByCompanyAndLanguage($companyId, new Language('nl')),

Line exceeds 120 characters; contains 143 characters
Open

            'quiz_total_fr' => $this->employeeParticipationRepository->getAverageTopScoreForCompanyAndLanguage($companyId, new Language('fr')),

Line exceeds 120 characters; contains 129 characters
Open

            'quiz_total_fr' => $this->employeeParticipationRepository->countByCompanyAndLanguage($companyId, new Language('fr')),

Line exceeds 120 characters; contains 129 characters
Open

            'quiz_total_nl' => $this->employeeParticipationRepository->countByCompanyAndLanguage($companyId, new Language('nl')),

Line exceeds 120 characters; contains 125 characters
Open

                'Only clear read models that are related to the contest, not the ones needed for quizes that are in progress'

Line exceeds 120 characters; contains 142 characters
Open

    public function __construct(RegistrationRepository $registrationRepository, \DateTimeImmutable $quizKickOffDate, MailService $mailService)
Severity
Category
Status
Source
Language