xref: /web-bugs/www/quick-fix-desc.php (revision fe351f79)
1<?php
2
3/**
4 * List of all quick fix responses.
5 */
6
7use App\Repository\ReasonRepository;
8
9// Application bootstrap
10require __DIR__.'/../include/prepend.php';
11
12// Authentication
13require_once __DIR__.'/../include/auth.php';
14
15$reasonRepository = $container->get(ReasonRepository::class);
16list($reasons, $variations) = $reasonRepository->findByProject('php');
17
18// Output template with given template variables.
19echo $template->render('pages/quick_fix_desc.php', [
20    'reasons' => $reasons,
21    'variations' => $variations,
22]);
23