Showing 1,426 of 1,426 total issues
Line exceeds 120 characters; contains 135 characters Open
Open
'quiz_total_fr' => $this->employeeParticipationRepository->countPassedByCompanyAndLanguage($companyId, new Language('fr')),
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
Open
$companyPassedUniqueParticipantPercentage = $this->dashboardService->uniquePassedParticipantsPercentages($activeCompany->getId());
- Exclude checks
Line exceeds 120 characters; contains 204 characters Open
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'
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
'answer1' => $rankedCompanyParticipant->getAnswer1() ? $rankedCompanyParticipant->getAnswer1()->toNative() : '',
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
'answer2' => $rankedCompanyParticipant->getAnswer2() ? $rankedCompanyParticipant->getAnswer2()->toNative() : '',
- Exclude checks
Line exceeds 120 characters; contains 143 characters Open
Open
'quiz_total_nl' => $this->employeeParticipationRepository->getAverageTopScoreForCompanyAndLanguage($companyId, new Language('nl')),
- Exclude checks
Line exceeds 120 characters; contains 228 characters Open
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.');
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
if ($input->getOption('projector') !== 'quiz' && $domainMessage->getPayload() instanceof QuizFinished) {
- Exclude checks
Line exceeds 120 characters; contains 161 characters Open
Open
->innerJoin(TopScoreEntity::class, 'topScore', Join::WITH, 'employee.email = topScore.email AND topScore.score >= :minimal_score_to_succeed')
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
->setDescription('Sends the kick-off e-mail to active company responsibles who registered before the kick-off date.');
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
->innerJoin(TeamParticipantEntity::class, 't', Join::WITH, 'e.contestParticipant.email = t.email AND t.teamId=:team_id')
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
'dateOfBirth' => $contestParticipant->getDateOfBirth() ? $contestParticipant->getDateOfBirth()->format(DATE_ATOM) : null,
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
->innerJoin(DetailedTopScoreEntity::class, 'score', Join::WITH, 'score.email = participation.email AND score.score >= 7')
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
Open
$msg = 'sending kick-off e-mail for ' . count($registrations) . ' registrations before ' . $this->quizKickOffDate->format('Y-m-d');
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
Open
'quiz_total_nl' => $this->employeeParticipationRepository->countPassedByCompanyAndLanguage($companyId, new Language('nl')),
- Exclude checks
Line exceeds 120 characters; contains 143 characters Open
Open
'quiz_total_fr' => $this->employeeParticipationRepository->getAverageTopScoreForCompanyAndLanguage($companyId, new Language('fr')),
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
'quiz_total_fr' => $this->employeeParticipationRepository->countByCompanyAndLanguage($companyId, new Language('fr')),
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
'quiz_total_nl' => $this->employeeParticipationRepository->countByCompanyAndLanguage($companyId, new Language('nl')),
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
'Only clear read models that are related to the contest, not the ones needed for quizes that are in progress'
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
Open
public function __construct(RegistrationRepository $registrationRepository, \DateTimeImmutable $quizKickOffDate, MailService $mailService)
- Exclude checks