From 523edad42d0ce37ff162a1589acdf2a3a69c871a Mon Sep 17 00:00:00 2001 From: Jerome Martinez Date: Tue, 21 Jan 2025 09:42:09 +0100 Subject: [PATCH] Ignore the warning about the count of methods --- .../Controller/DefaultController.php | 3 +++ .../Resources/translations/messages.en.xlf | 4 ++++ .../Resources/views/Default/index.html.twig | 23 +++++++++---------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/NoTimeToWaitBundle/Controller/DefaultController.php b/src/NoTimeToWaitBundle/Controller/DefaultController.php index c99252fa..ea2970a3 100644 --- a/src/NoTimeToWaitBundle/Controller/DefaultController.php +++ b/src/NoTimeToWaitBundle/Controller/DefaultController.php @@ -6,6 +6,9 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; +/** + * @SuppressWarnings(PHPMD.TooManyPublicMethods) + */ class DefaultController extends Controller { /** diff --git a/src/NoTimeToWaitBundle/Resources/translations/messages.en.xlf b/src/NoTimeToWaitBundle/Resources/translations/messages.en.xlf index de202624..51fa4339 100644 --- a/src/NoTimeToWaitBundle/Resources/translations/messages.en.xlf +++ b/src/NoTimeToWaitBundle/Resources/translations/messages.en.xlf @@ -42,6 +42,10 @@ + + + + diff --git a/src/NoTimeToWaitBundle/Resources/views/Default/index.html.twig b/src/NoTimeToWaitBundle/Resources/views/Default/index.html.twig index 2bef2492..be4eb97f 100644 --- a/src/NoTimeToWaitBundle/Resources/views/Default/index.html.twig +++ b/src/NoTimeToWaitBundle/Resources/views/Default/index.html.twig @@ -32,7 +32,7 @@

Next

- No Time To Wait 9 (2025, Dublin) + {% trans %}menu.notimetowait.9{% endtrans %}

@@ -40,24 +40,23 @@

Past

- No Time To Wait 8 (2024, Karlsruhe) -

-

- No Time To Wait 7 (2023, Prague) + {% trans %}menu.notimetowait.8{% endtrans %} +
+ {% trans %}menu.notimetowait.7{% endtrans %}
- No Time To Wait 6 (2022, The Hague) + {% trans %}menu.notimetowait.6{% endtrans %}
- No Time To Wait 5 (2021, Online) + {% trans %}menu.notimetowait.5{% endtrans %}
- No Time To Wait 4 (2019, Budapest) + {% trans %}menu.notimetowait.4{% endtrans %}
- QC workshop (2018, Luxembourg) + {% trans %}menu.qcworkshop.2018{% endtrans %}
- No Time To Wait 3 (2018, London) + {% trans %}menu.notimetowait.3{% endtrans %}
- No Time To Wait 2 (2017, Vienna) + {% trans %}menu.notimetowait.2{% endtrans %}
- No Time To Wait 1 (2016, Berlin) + {% trans %}menu.notimetowait.1{% endtrans %}