Skip to content

Commit

Permalink
Ignore the warning about the count of methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMartinez committed Jan 21, 2025
1 parent e76b3ff commit 4c2335c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
3 changes: 3 additions & 0 deletions src/NoTimeToWaitBundle/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

/**
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DefaultController extends Controller
{
/**
Expand Down
4 changes: 4 additions & 0 deletions src/NoTimeToWaitBundle/Resources/translations/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
<source><![CDATA[menu.notimetowait.8]]></source>
<target><![CDATA[No Time To Wait 8 (2024, Karlsruhe)]]></target>
</trans-unit>
<trans-unit id="menu.notimetowait.9" approved="yes">
<source><![CDATA[menu.notimetowait.9]]></source>
<target><![CDATA[No Time To Wait 9 (2025, Dublin)]]></target>
</trans-unit>
</body>
</file>
</xliff>
23 changes: 11 additions & 12 deletions src/NoTimeToWaitBundle/Resources/views/Default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,31 @@
<h2 class="title">Next</h2>
<div class="content">
<p>
<a href="{{ path('notimetowait_9') }}">No Time To Wait 9 (2025, Dublin)</a>
<a href="{{ path('notimetowait_9') }}">{% trans %}menu.notimetowait.9{% endtrans %}</a>
</p>
</div>
</section>
<section>
<h2 class="title">Past</h2>
<div class="content">
<p>
<a href="{{ path('notimetowait_8') }}">No Time To Wait 8 (2024, Karlsruhe)</a>
</p>
<p>
<a href="{{ path('notimetowait_7') }}">No Time To Wait 7 (2023, Prague)</a>
<a href="{{ path('notimetowait_8') }}">{% trans %}menu.notimetowait.8{% endtrans %}</a>
<br/>
<a href="{{ path('notimetowait_7') }}">{% trans %}menu.notimetowait.7{% endtrans %}</a>
<br/>
<a href="{{ path('notimetowait_6') }}">No Time To Wait 6 (2022, The Hague)</a>
<a href="{{ path('notimetowait_6') }}">{% trans %}menu.notimetowait.6{% endtrans %}</a>
<br/>
<a href="{{ path('notimetowait_5') }}">No Time To Wait 5 (2021, Online)</a>
<a href="{{ path('notimetowait_5') }}">{% trans %}menu.notimetowait.5{% endtrans %}</a>
<br/>
<a href="{{ path('notimetowait_4') }}">No Time To Wait 4 (2019, Budapest)</a>
<a href="{{ path('notimetowait_4') }}">{% trans %}menu.notimetowait.4{% endtrans %}</a>
<br/>
<a href="{{ path('qcworkshop2018') }}">QC workshop (2018, Luxembourg)</a>
<a href="{{ path('qcworkshop2018') }}">{% trans %menu.qcworkshop.2018{% endtrans %}</a>
<br>
<a href="{{ path('notimetowait_3') }}">No Time To Wait 3 (2018, London)</a>
<a href="{{ path('notimetowait_3') }}">{% trans %}menu.notimetowait.3{% endtrans %}</a>
<br>
<a href="{{ path('notimetowait_2') }}">No Time To Wait 2 (2017, Vienna)</a>
<a href="{{ path('notimetowait_2') }}">{% trans %}menu.notimetowait.2{% endtrans %}</a>
<br>
<a href="{{ path('notimetowait_1') }}">No Time To Wait 1 (2016, Berlin)</a>
<a href="{{ path('notimetowait_1') }}">{% trans %}menu.notimetowait.1{% endtrans %}</a>
</p>
</div>
</section>
Expand Down

0 comments on commit 4c2335c

Please sign in to comment.