From 3d0be940f012d69e3b9e215632b76c695e746f27 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 21 Dec 2021 15:02:12 +0100 Subject: [PATCH] fix: Fix return types in tests. --- .../Tests/Export/Aggregator/ActivityReasonAggregatorTest.php | 2 +- .../Tests/Export/Aggregator/ActivityTypeAggregatorTest.php | 2 +- .../Tests/Export/Aggregator/ActivityUserAggregatorTest.php | 2 +- .../Tests/Export/Export/CountActivityTest.php | 2 +- .../Tests/Export/Export/ListActivityTest.php | 2 +- .../Tests/Export/Export/StatActivityDurationSumTest.php | 2 +- .../Tests/Export/Filter/ActivityReasonFilterTest.php | 2 +- .../Export/Filter/PersonHavingActivityBetweenDateFilterTest.php | 2 +- src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php | 2 +- .../Tests/Form/Type/TranslatableActivityReasonTest.php | 2 +- .../Tests/Form/Type/TranslatableActivityTypeTest.php | 2 +- .../Tests/Security/Authorization/ActivityVoterTest.php | 2 +- .../src/Tests/Controller/AsideActivityControllerTest.php | 2 +- .../Tests/Controller/CalendarControllerTest.php | 2 +- .../Tests/CustomFields/CustomFieldsChoiceTest.php | 2 +- .../Tests/CustomFields/CustomFieldsNumberTest.php | 2 +- .../Tests/CustomFields/CustomFieldsTextTest.php | 2 +- .../Tests/Form/Extension/PostTextIntegerExtensionTest.php | 2 +- .../Tests/Form/Extension/PostTextNumberExtensionTest.php | 2 +- .../Tests/Service/CustomFieldsHelperTest.php | 2 +- .../Tests/Templating/Twig/CustomFieldRenderingTwigTest.php | 2 +- .../Templating/Twig/CustomFieldsGroupRenderingTwigTest.php | 2 +- .../Tests/Controller/ParticipationControllerTest.php | 2 +- src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php | 2 +- src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php | 2 +- .../Tests/Authorization/ParentRoleHelperTest.php | 2 +- .../ChillMainBundle/Tests/Controller/AddressControllerTest.php | 2 +- .../ChillMainBundle/Tests/Controller/UserControllerTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php | 2 +- .../ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php | 2 +- .../Tests/Security/Authorization/AuthorizationHelperTest.php | 2 +- .../Tests/Security/PasswordRecover/TokenManagerTest.php | 2 +- .../Tests/Security/Resolver/DefaultScopeResolverTest.php | 2 +- .../Tests/Security/Resolver/ScopeResolverDispatcherTest.php | 2 +- .../Tests/Serializer/Normalizer/DateNormalizerTest.php | 2 +- src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php | 2 +- .../AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php | 2 +- .../Tests/Controller/AccompanyingCourseApiControllerTest.php | 2 +- .../Tests/Controller/AccompanyingCourseControllerTest.php | 2 +- .../Tests/Controller/AccompanyingPeriodControllerTest.php | 2 +- .../Tests/Controller/PersonAddressControllerTest.php | 2 +- .../Tests/Controller/PersonControllerUpdateTest.php | 2 +- .../Controller/PersonControllerUpdateWithHiddenFieldsTest.php | 2 +- .../Tests/Controller/PersonControllerViewTest.php | 2 +- .../Controller/PersonControllerViewWithHiddenFieldsTest.php | 2 +- .../Tests/Controller/PersonDuplicateControllerViewTest.php | 2 +- .../Tests/Controller/RelationshipApiControllerTest.php | 2 +- .../Tests/Controller/SocialIssueApiControllerTest.php | 2 +- .../Tests/Export/Aggregator/AgeAggregatorTest.php | 2 +- .../Tests/Export/Aggregator/GenderAggregatorTest.php | 2 +- .../Tests/Export/Aggregator/NationalityAggregatorTest.php | 2 +- .../ChillPersonBundle/Tests/Export/Export/CountPersonTest.php | 2 +- .../ChillPersonBundle/Tests/Export/Export/ListPersonTest.php | 2 +- .../Tests/Export/Filter/AccompanyingPeriodFilterTest.php | 2 +- .../Tests/Export/Filter/BirthdayFilterTest.php | 2 +- .../ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php | 2 +- .../ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php | 2 +- .../Tests/Security/Authorization/PersonVoterTest.php | 2 +- .../Tests/Controller/ReportControllerNextTest.php | 2 +- .../ChillReportBundle/Tests/Controller/ReportControllerTest.php | 2 +- .../Tests/Security/Authorization/ReportVoterTest.php | 2 +- .../ChillReportBundle/Tests/Timeline/TimelineProviderTest.php | 2 +- 66 files changed, 66 insertions(+), 66 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php index cded1edeb..8988a8f3a 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php @@ -26,7 +26,7 @@ final class ActivityReasonAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityTypeAggregatorTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityTypeAggregatorTest.php index 0b0c6500a..4529a8e9f 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityTypeAggregatorTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityTypeAggregatorTest.php @@ -26,7 +26,7 @@ final class ActivityTypeAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityUserAggregatorTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityUserAggregatorTest.php index 426de911d..67b8c8716 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityUserAggregatorTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Aggregator/ActivityUserAggregatorTest.php @@ -26,7 +26,7 @@ final class ActivityUserAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Export/CountActivityTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Export/CountActivityTest.php index 3981c1948..db371a1a2 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Export/CountActivityTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Export/CountActivityTest.php @@ -24,7 +24,7 @@ final class CountActivityTest extends AbstractExportTest */ private $export; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Export/ListActivityTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Export/ListActivityTest.php index df1e64fd7..599ce2338 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Export/ListActivityTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Export/ListActivityTest.php @@ -24,7 +24,7 @@ final class ListActivityTest extends AbstractExportTest */ private $export; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Export/StatActivityDurationSumTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Export/StatActivityDurationSumTest.php index 12587e5a3..ce8345272 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Export/StatActivityDurationSumTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Export/StatActivityDurationSumTest.php @@ -26,7 +26,7 @@ final class StatActivityDurationSumTest extends AbstractExportTest */ private $export; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Filter/ActivityReasonFilterTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Filter/ActivityReasonFilterTest.php index 46c1e0ef6..77564fa1f 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Filter/ActivityReasonFilterTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Filter/ActivityReasonFilterTest.php @@ -25,7 +25,7 @@ final class ActivityReasonFilterTest extends AbstractFilterTest */ private $filter; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Export/Filter/PersonHavingActivityBetweenDateFilterTest.php b/src/Bundle/ChillActivityBundle/Tests/Export/Filter/PersonHavingActivityBetweenDateFilterTest.php index b69e4d8b2..3adda9df3 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Export/Filter/PersonHavingActivityBetweenDateFilterTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Export/Filter/PersonHavingActivityBetweenDateFilterTest.php @@ -26,7 +26,7 @@ final class PersonHavingActivityBetweenDateFilterTest extends AbstractFilterTest */ private $filter; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php b/src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php index 3ba204d9a..a739074ef 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php @@ -45,7 +45,7 @@ final class ActivityTypeTest extends KernelTestCase */ protected $user; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityReasonTest.php b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityReasonTest.php index 7d186192e..f765de0af 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityReasonTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityReasonTest.php @@ -29,7 +29,7 @@ final class TranslatableActivityReasonTest extends TypeTestCase */ private static $prophet; - public function setUp() + public function setUp(): void { parent::setUp(); } diff --git a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php index 5c1dcd958..c2e5ceb14 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php @@ -31,7 +31,7 @@ final class TranslatableActivityTypeTest extends KernelTestCase */ protected $container; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillActivityBundle/Tests/Security/Authorization/ActivityVoterTest.php b/src/Bundle/ChillActivityBundle/Tests/Security/Authorization/ActivityVoterTest.php index 46351a052..da3a8b83e 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Security/Authorization/ActivityVoterTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Security/Authorization/ActivityVoterTest.php @@ -44,7 +44,7 @@ final class ActivityVoterTest extends KernelTestCase */ protected $voter; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->voter = self::$kernel->getContainer() diff --git a/src/Bundle/ChillAsideActivityBundle/src/Tests/Controller/AsideActivityControllerTest.php b/src/Bundle/ChillAsideActivityBundle/src/Tests/Controller/AsideActivityControllerTest.php index 3f8a514d2..c2e6e13b9 100644 --- a/src/Bundle/ChillAsideActivityBundle/src/Tests/Controller/AsideActivityControllerTest.php +++ b/src/Bundle/ChillAsideActivityBundle/src/Tests/Controller/AsideActivityControllerTest.php @@ -26,7 +26,7 @@ final class AsideActivityControllerTest extends WebTestCase { use PrepareClientTrait; - public function setUp() + public function setUp(): void { parent::setUp(); self::bootKernel(); diff --git a/src/Bundle/ChillCalendarBundle/Tests/Controller/CalendarControllerTest.php b/src/Bundle/ChillCalendarBundle/Tests/Controller/CalendarControllerTest.php index 06e0cd5a9..fa5c4e569 100644 --- a/src/Bundle/ChillCalendarBundle/Tests/Controller/CalendarControllerTest.php +++ b/src/Bundle/ChillCalendarBundle/Tests/Controller/CalendarControllerTest.php @@ -26,7 +26,7 @@ final class CalendarControllerTest extends WebTestCase /** * Setup before each test method (see phpunit doc). */ - public function setUp() + public function setUp(): void { self::bootKernel(); $this->client = self::createClient([], [ diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsChoiceTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsChoiceTest.php index 58b15f0c3..dca4be283 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsChoiceTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsChoiceTest.php @@ -37,7 +37,7 @@ final class CustomFieldsChoiceTest extends KernelTestCase */ private $cfProvider; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsNumberTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsNumberTest.php index d65577d91..8dab08d9d 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsNumberTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsNumberTest.php @@ -34,7 +34,7 @@ final class CustomFieldsNumberTest extends \Symfony\Bundle\FrameworkBundle\Test\ */ private $formBuilder; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsTextTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsTextTest.php index 8d84f072e..fe8b782f3 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsTextTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/CustomFields/CustomFieldsTextTest.php @@ -28,7 +28,7 @@ final class CustomFieldsTextTest extends WebTestCase */ private $customFieldProvider; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->customFieldProvider = self::$kernel->getContainer() diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextIntegerExtensionTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextIntegerExtensionTest.php index 8ce7b0cef..0f0be7d50 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextIntegerExtensionTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextIntegerExtensionTest.php @@ -27,7 +27,7 @@ final class PostTextIntegerExtensionTest extends KernelTestCase */ private $formBuilder; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextNumberExtensionTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextNumberExtensionTest.php index a16980be0..0079f8cd9 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextNumberExtensionTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/Form/Extension/PostTextNumberExtensionTest.php @@ -27,7 +27,7 @@ final class PostTextNumberExtensionTest extends KernelTestCase */ private $formBuilder; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/Service/CustomFieldsHelperTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/Service/CustomFieldsHelperTest.php index 594e55e34..a0ad42186 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/Service/CustomFieldsHelperTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/Service/CustomFieldsHelperTest.php @@ -33,7 +33,7 @@ final class CustomFieldsHelperTest extends KernelTestCase */ private $randomCFText; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldRenderingTwigTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldRenderingTwigTest.php index 425e79537..8c6867f53 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldRenderingTwigTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldRenderingTwigTest.php @@ -34,7 +34,7 @@ final class CustomFieldRenderingTwigTest extends KernelTestCase */ private $cfRendering; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->cfRendering = self::$kernel->getContainer() diff --git a/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldsGroupRenderingTwigTest.php b/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldsGroupRenderingTwigTest.php index aa52e3efd..fe14d3204 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldsGroupRenderingTwigTest.php +++ b/src/Bundle/ChillCustomFieldsBundle/Tests/Templating/Twig/CustomFieldsGroupRenderingTwigTest.php @@ -36,7 +36,7 @@ final class CustomFieldsGroupRenderingTwigTest extends KernelTestCase */ private $cfRendering; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->cfRendering = self::$kernel->getContainer() diff --git a/src/Bundle/ChillEventBundle/Tests/Controller/ParticipationControllerTest.php b/src/Bundle/ChillEventBundle/Tests/Controller/ParticipationControllerTest.php index 201cfb183..2b93b476c 100644 --- a/src/Bundle/ChillEventBundle/Tests/Controller/ParticipationControllerTest.php +++ b/src/Bundle/ChillEventBundle/Tests/Controller/ParticipationControllerTest.php @@ -44,7 +44,7 @@ final class ParticipationControllerTest extends WebTestCase */ private $personsIdsCache = []; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php b/src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php index 3e93c0dbf..a0ce577f8 100644 --- a/src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php +++ b/src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php @@ -68,7 +68,7 @@ final class EventSearchTest extends WebTestCase */ protected $prophet; - public function setUp() + public function setUp(): void { self::bootKernel(); /** @var \Symfony\Component\HttpKernel\KernelInterface $kernel */ diff --git a/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php b/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php index 44d52779d..ec3105c3c 100644 --- a/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php +++ b/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php @@ -32,7 +32,7 @@ abstract class AbstractFilterTest extends KernelTestCase */ protected $prophet; - public function setUp() + public function setUp(): void { $this->prepareProphet(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Authorization/ParentRoleHelperTest.php b/src/Bundle/ChillMainBundle/Tests/Authorization/ParentRoleHelperTest.php index de3b95a31..132ca73f8 100644 --- a/src/Bundle/ChillMainBundle/Tests/Authorization/ParentRoleHelperTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Authorization/ParentRoleHelperTest.php @@ -23,7 +23,7 @@ final class ParentRoleHelperTest extends KernelTestCase { private ParentRoleHelper $parentRoleHelper; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->parentRoleHelper = self::$container->get(ParentRoleHelper::class); diff --git a/src/Bundle/ChillMainBundle/Tests/Controller/AddressControllerTest.php b/src/Bundle/ChillMainBundle/Tests/Controller/AddressControllerTest.php index b36a655c5..596ab147e 100644 --- a/src/Bundle/ChillMainBundle/Tests/Controller/AddressControllerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Controller/AddressControllerTest.php @@ -26,7 +26,7 @@ final class AddressControllerTest extends \Symfony\Bundle\FrameworkBundle\Test\W private KernelBrowser $client; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->client = $this->getClientAuthenticated(); diff --git a/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php b/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php index 00bec29f6..dfcd266cc 100644 --- a/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php @@ -26,7 +26,7 @@ final class UserControllerTest extends WebTestCase private array $toDelete = []; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php b/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php index 645dff22e..41085b482 100644 --- a/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php @@ -42,7 +42,7 @@ final class ExportManagerTest extends KernelTestCase */ private $prophet; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php b/src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php index c527a1f6a..98549671f 100644 --- a/src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php @@ -27,7 +27,7 @@ final class PageTest extends KernelTestCase protected $prophet; - public function setUp() + public function setUp(): void { $this->prophet = new \Prophecy\Prophet(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php b/src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php index 2a92ef222..824666690 100644 --- a/src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php @@ -28,7 +28,7 @@ final class PaginatorTest extends KernelTestCase protected $prophet; - public function setUp() + public function setUp(): void { $this->prophet = new \Prophecy\Prophet(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php b/src/Bundle/ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php index ff8ee423e..479607c9b 100644 --- a/src/Bundle/ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php @@ -23,7 +23,7 @@ final class RouteLoaderTest extends KernelTestCase { private $router; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->router = self::$kernel->getContainer()->get('router'); diff --git a/src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php b/src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php index c0c3b176a..ac2f22741 100644 --- a/src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php @@ -24,7 +24,7 @@ final class AbstractSearchTest extends \PHPUnit\Framework\TestCase */ private $stub; - public function setUp() + public function setUp(): void { $this->stub = $this->getMockForAbstractClass('Chill\MainBundle\Search\AbstractSearch'); } diff --git a/src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php b/src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php index 3bbc2b94b..8a1313a10 100644 --- a/src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php @@ -26,7 +26,7 @@ final class SearchProviderTest extends TestCase */ private $search; - public function setUp() + public function setUp(): void { $this->search = new SearchProvider(); diff --git a/src/Bundle/ChillMainBundle/Tests/Security/Authorization/AuthorizationHelperTest.php b/src/Bundle/ChillMainBundle/Tests/Security/Authorization/AuthorizationHelperTest.php index 4618ba3b1..9ff063da9 100644 --- a/src/Bundle/ChillMainBundle/Tests/Security/Authorization/AuthorizationHelperTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Security/Authorization/AuthorizationHelperTest.php @@ -38,7 +38,7 @@ final class AuthorizationHelperTest extends KernelTestCase use PrepareUserTrait; use ProphecyTrait; - public function setUp() + public function setUp(): void { self::bootKernel(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Security/PasswordRecover/TokenManagerTest.php b/src/Bundle/ChillMainBundle/Tests/Security/PasswordRecover/TokenManagerTest.php index 4bb6c6743..1c77fd327 100644 --- a/src/Bundle/ChillMainBundle/Tests/Security/PasswordRecover/TokenManagerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Security/PasswordRecover/TokenManagerTest.php @@ -25,7 +25,7 @@ final class TokenManagerTest extends KernelTestCase { protected $tokenManager; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillMainBundle/Tests/Security/Resolver/DefaultScopeResolverTest.php b/src/Bundle/ChillMainBundle/Tests/Security/Resolver/DefaultScopeResolverTest.php index 32c07b04e..56f2a9fc9 100644 --- a/src/Bundle/ChillMainBundle/Tests/Security/Resolver/DefaultScopeResolverTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Security/Resolver/DefaultScopeResolverTest.php @@ -25,7 +25,7 @@ final class DefaultScopeResolverTest extends TestCase { private DefaultScopeResolver $scopeResolver; - public function setUp() + public function setUp(): void { $this->scopeResolver = new DefaultScopeResolver(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Security/Resolver/ScopeResolverDispatcherTest.php b/src/Bundle/ChillMainBundle/Tests/Security/Resolver/ScopeResolverDispatcherTest.php index 320d2e326..c6d2adc1d 100644 --- a/src/Bundle/ChillMainBundle/Tests/Security/Resolver/ScopeResolverDispatcherTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Security/Resolver/ScopeResolverDispatcherTest.php @@ -26,7 +26,7 @@ final class ScopeResolverDispatcherTest extends TestCase { private ScopeResolverDispatcher $scopeResolverDispatcher; - public function setUp() + public function setUp(): void { $this->scopeResolverDispatcher = new ScopeResolverDispatcher([new DefaultScopeResolver()]); } diff --git a/src/Bundle/ChillMainBundle/Tests/Serializer/Normalizer/DateNormalizerTest.php b/src/Bundle/ChillMainBundle/Tests/Serializer/Normalizer/DateNormalizerTest.php index fc9612299..072e5f6b0 100644 --- a/src/Bundle/ChillMainBundle/Tests/Serializer/Normalizer/DateNormalizerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Serializer/Normalizer/DateNormalizerTest.php @@ -30,7 +30,7 @@ final class DateNormalizerTest extends KernelTestCase { private Prophet $prophet; - public function setUp() + public function setUp(): void { $this->prophet = new Prophet(); } diff --git a/src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php b/src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php index bb98b074d..f876a3d43 100644 --- a/src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php @@ -32,7 +32,7 @@ final class MenuComposerTest extends KernelTestCase */ private $menuComposer; - public function setUp() + public function setUp(): void { self::bootKernel(['environment' => 'test']); $this->menuComposer = self::$container diff --git a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php index f1551554c..45b24b90e 100644 --- a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php @@ -35,7 +35,7 @@ final class AccompanyingPeriodConfidentialTest extends WebTestCase /** * Setup before each test method (see phpunit doc). */ - public function setUp() + public function setUp(): void { $this->client = self::createClient([], [ 'PHP_AUTH_USER' => 'fred', diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseApiControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseApiControllerTest.php index cfd126ad2..86da67ebf 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseApiControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseApiControllerTest.php @@ -59,7 +59,7 @@ final class AccompanyingCourseApiControllerTest extends WebTestCase /** * Setup before each test method (see phpunit doc). */ - public function setUp() + public function setUp(): void { $this->client = self::createClient([], [ 'PHP_AUTH_USER' => 'center a_social', diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseControllerTest.php index 7f8175a2b..20eadf94b 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingCourseControllerTest.php @@ -32,7 +32,7 @@ final class AccompanyingCourseControllerTest extends WebTestCase { use PrepareClientTrait; - public function setUp() + public function setUp(): void { parent::setUp(); self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingPeriodControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingPeriodControllerTest.php index f8b671f85..fdd7b0102 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingPeriodControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingPeriodControllerTest.php @@ -64,7 +64,7 @@ final class AccompanyingPeriodControllerTest extends WebTestCase /** * Setup before each test method (see phpunit doc). */ - public function setUp() + public function setUp(): void { $this->client = self::createClient([], [ 'PHP_AUTH_USER' => 'center a_social', diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonAddressControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonAddressControllerTest.php index 43a689a5f..b9ef1a08f 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonAddressControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonAddressControllerTest.php @@ -63,7 +63,7 @@ final class PersonAddressControllerTest extends WebTestCase /** * Prepare client and create a random person. */ - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateTest.php index 8064a8290..c44c166c9 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateTest.php @@ -51,7 +51,7 @@ final class PersonControllerUpdateTest extends WebTestCase /** * Prepare client and create a random person. */ - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateWithHiddenFieldsTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateWithHiddenFieldsTest.php index d8219f2f5..3db165016 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateWithHiddenFieldsTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateWithHiddenFieldsTest.php @@ -50,7 +50,7 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase /** * Prepare client and create a random person. */ - public function setUp() + public function setUp(): void { self::bootKernel(['environment' => 'test_with_hidden_fields']); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewTest.php index 2db234c13..5a90e9d87 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewTest.php @@ -35,7 +35,7 @@ final class PersonControllerViewTest extends WebTestCase */ private $viewUrl; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php index a74cdebb2..9c40e4e3e 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php @@ -35,7 +35,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase */ private $viewUrl; - public function setUp() + public function setUp(): void { self::bootKernel(['environment' => 'test_with_hidden_fields']); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonDuplicateControllerViewTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonDuplicateControllerViewTest.php index c993d15c4..45e5e4527 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonDuplicateControllerViewTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonDuplicateControllerViewTest.php @@ -20,7 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; */ final class PersonDuplicateControllerViewTest extends WebTestCase { - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php index 3ccc5dcbc..a7dd608f9 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php @@ -39,7 +39,7 @@ final class RelationshipApiControllerTest extends WebTestCase */ private ?array $relations = null; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->client = $this->getClientAuthenticated(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/SocialIssueApiControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/SocialIssueApiControllerTest.php index 1a71e2844..0ea7c5e8c 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/SocialIssueApiControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/SocialIssueApiControllerTest.php @@ -26,7 +26,7 @@ final class SocialIssueApiControllerTest extends WebTestCase { use PrepareClientTrait; - public function setUp() + public function setUp(): void { parent::setUp(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/AgeAggregatorTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/AgeAggregatorTest.php index 28f2d124c..4763a4fb1 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/AgeAggregatorTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/AgeAggregatorTest.php @@ -25,7 +25,7 @@ final class AgeAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/GenderAggregatorTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/GenderAggregatorTest.php index 588bc0630..4230a58b0 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/GenderAggregatorTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/GenderAggregatorTest.php @@ -24,7 +24,7 @@ final class GenderAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/NationalityAggregatorTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/NationalityAggregatorTest.php index 47ba1ff4d..de055fe46 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/NationalityAggregatorTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Aggregator/NationalityAggregatorTest.php @@ -24,7 +24,7 @@ final class NationalityAggregatorTest extends AbstractAggregatorTest */ private $aggregator; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Export/CountPersonTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Export/CountPersonTest.php index abe0f19b6..49357fdcd 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Export/CountPersonTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Export/CountPersonTest.php @@ -26,7 +26,7 @@ final class CountPersonTest extends AbstractExportTest */ private $export; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Export/ListPersonTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Export/ListPersonTest.php index 27b2e0176..bf7fb9e0a 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Export/ListPersonTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Export/ListPersonTest.php @@ -28,7 +28,7 @@ final class ListPersonTest extends AbstractExportTest */ private $export; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/AccompanyingPeriodFilterTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/AccompanyingPeriodFilterTest.php index 4bcae110e..bcc5751d0 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/AccompanyingPeriodFilterTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/AccompanyingPeriodFilterTest.php @@ -26,7 +26,7 @@ final class AccompanyingPeriodFilterTest extends AbstractFilterTest */ private $filter; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/BirthdayFilterTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/BirthdayFilterTest.php index 65eedcfbc..718ea8fdd 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/BirthdayFilterTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/BirthdayFilterTest.php @@ -25,7 +25,7 @@ final class BirthdayFilterTest extends AbstractFilterTest */ private $filter; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php index 7380349ed..4aecb81ba 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php @@ -25,7 +25,7 @@ final class GenderFilterTest extends AbstractFilterTest */ private $filter; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php b/src/Bundle/ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php index 1b0c5f3b6..89ac7a9d3 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php @@ -32,7 +32,7 @@ final class PickPersonTypeTest extends KernelTestCase */ protected $user; - public function setUp() + public function setUp(): void { self::bootKernel(); diff --git a/src/Bundle/ChillPersonBundle/Tests/Security/Authorization/PersonVoterTest.php b/src/Bundle/ChillPersonBundle/Tests/Security/Authorization/PersonVoterTest.php index da929a1b2..22e9a4acd 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Security/Authorization/PersonVoterTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Security/Authorization/PersonVoterTest.php @@ -42,7 +42,7 @@ final class PersonVoterTest extends KernelTestCase */ protected $voter; - public function setUp() + public function setUp(): void { self::bootKernel(); $this->voter = self::$container diff --git a/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerNextTest.php b/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerNextTest.php index 0a47bcc0f..be16290fa 100644 --- a/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerNextTest.php +++ b/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerNextTest.php @@ -38,7 +38,7 @@ final class ReportControllerNextTest extends WebTestCase */ protected $person; - public function setUp() + public function setUp(): void { self::bootKernel(); // get person from fixture diff --git a/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerTest.php b/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerTest.php index b9578ec6b..612ff1b8f 100644 --- a/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerTest.php +++ b/src/Bundle/ChillReportBundle/Tests/Controller/ReportControllerTest.php @@ -98,7 +98,7 @@ final class ReportControllerTest extends WebTestCase ->findOneBy(['username' => 'center a_social']); } - public function setUp() + public function setUp(): void { self::$client = self::createClient([], [ 'PHP_AUTH_USER' => 'center a_social', diff --git a/src/Bundle/ChillReportBundle/Tests/Security/Authorization/ReportVoterTest.php b/src/Bundle/ChillReportBundle/Tests/Security/Authorization/ReportVoterTest.php index 170be6c49..cb0e6d3f0 100644 --- a/src/Bundle/ChillReportBundle/Tests/Security/Authorization/ReportVoterTest.php +++ b/src/Bundle/ChillReportBundle/Tests/Security/Authorization/ReportVoterTest.php @@ -45,7 +45,7 @@ final class ReportVoterTest extends KernelTestCase { } - public function setUp() + public function setUp(): void { self::bootKernel(); $this->voter = self::$kernel->getContainer() diff --git a/src/Bundle/ChillReportBundle/Tests/Timeline/TimelineProviderTest.php b/src/Bundle/ChillReportBundle/Tests/Timeline/TimelineProviderTest.php index 25d175782..ab709dbe5 100644 --- a/src/Bundle/ChillReportBundle/Tests/Timeline/TimelineProviderTest.php +++ b/src/Bundle/ChillReportBundle/Tests/Timeline/TimelineProviderTest.php @@ -45,7 +45,7 @@ final class TimelineProviderTest extends WebTestCase /** * Create a person with a report associated with the person. */ - public function setUp() + public function setUp(): void { self::bootKernel();