From 038dc7876584ee78d78ecac4eeab164e02e56339 Mon Sep 17 00:00:00 2001 From: Tom Van Looy Date: Thu, 26 Sep 2024 13:25:54 +0200 Subject: [PATCH] Style --- tests/php/api/FirstApiTest.php | 2 +- tests/php/unit/Service/ParticipantShufflerTest.php | 12 ++++++------ tests/php/unit/Twig/LinkifyExtensionTest.php | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/tests/php/api/FirstApiTest.php b/tests/php/api/FirstApiTest.php index 9fc781117..71368fbd3 100644 --- a/tests/php/api/FirstApiTest.php +++ b/tests/php/api/FirstApiTest.php @@ -8,7 +8,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface; /** - * This is just a demo test + * This is just a demo test. */ final class FirstApiTest extends KernelTestCase { diff --git a/tests/php/unit/Service/ParticipantShufflerTest.php b/tests/php/unit/Service/ParticipantShufflerTest.php index f1841693f..e442873f8 100644 --- a/tests/php/unit/Service/ParticipantShufflerTest.php +++ b/tests/php/unit/Service/ParticipantShufflerTest.php @@ -47,9 +47,9 @@ public function testParticipantShufflerCase1() $key = 0; foreach ($party->getParticipants() as $participant) { - //check if we did not match excluded participant + // check if we did not match excluded participant $this->assertNotContains($shuffeledParticipants[$key], $participant->getExcludedParticipants()); - //check if we have an Participant matched + // check if we have an Participant matched $this->assertNotNull($shuffeledParticipants[$key]); ++$key; } @@ -480,9 +480,9 @@ public function testParticipantShufflerCase2() $key = 0; foreach ($party->getParticipants() as $participant) { - //check if we did not match excluded participant + // check if we did not match excluded participant $this->assertNotContains($shuffeledParticipants[$key], $participant->getExcludedParticipants()); - //check if we have an Participant matched + // check if we have an Participant matched $this->assertNotNull($shuffeledParticipants[$key]); ++$key; } @@ -1727,9 +1727,9 @@ public function testParticipantShufflerCase3() $key = 0; foreach ($party->getParticipants() as $participant) { - //check if we did not match excluded participant + // check if we did not match excluded participant $this->assertNotContains($shuffeledParticipants[$key], $participant->getExcludedParticipants()); - //check if we have an Participant matched + // check if we have an Participant matched $this->assertNotNull($shuffeledParticipants[$key]); ++$key; } diff --git a/tests/php/unit/Twig/LinkifyExtensionTest.php b/tests/php/unit/Twig/LinkifyExtensionTest.php index 12d21e318..f1abbee57 100644 --- a/tests/php/unit/Twig/LinkifyExtensionTest.php +++ b/tests/php/unit/Twig/LinkifyExtensionTest.php @@ -9,9 +9,10 @@ class LinkifyExtensionTest extends TestCase { /** * @test + * * @dataProvider htmlProvider */ - public function it_should_wrap_an_html_link_in_an_anchor_tag($rawHtml, $anchorHtml) + public function itShouldWrapAnHtmlLinkInAnAnchorTag($rawHtml, $anchorHtml) { $filter = new LinkifyExtension();