From 36590e7810693f1ccea79daaa86b4108b065d7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 6 Oct 2022 22:23:38 +0200 Subject: [PATCH] fix cs: mismatch header and strict type declaration --- .../Repository/ActivityTypeRepositoryInterface.php | 1 - .../ACPAggregators/BySocialActionAggregatorTest.php | 1 - .../ACPAggregators/BySocialIssueAggregatorTest.php | 1 - .../Aggregator/ACPAggregators/ByThirdpartyAggregatorTest.php | 1 - .../Aggregator/ACPAggregators/ByUserAggregatorTest.php | 1 - .../Export/Aggregator/ACPAggregators/DateAggregatorTest.php | 1 - .../Aggregator/ACPAggregators/LocationTypeAggregatorTest.php | 1 - .../Aggregator/ACPAggregators/UserScopeAggregatorTest.php | 1 - .../Export/Export/LinkedToACP/AvgActivityDurationTest.php | 1 - .../Export/LinkedToACP/AvgActivityVisitDurationTest.php | 1 - .../Tests/Export/Export/LinkedToACP/CountActivityTest.php | 1 - .../Export/Export/LinkedToACP/SumActivityDurationTest.php | 1 - .../Export/LinkedToACP/SumActivityVisitDurationTest.php | 1 - .../Export/Filter/ACPFilters/ActivityTypeFilterTest.php | 1 - .../Export/Filter/ACPFilters/BySocialActionFilterTest.php | 1 - .../Export/Filter/ACPFilters/BySocialIssueFilterTest.php | 1 - .../Tests/Export/Filter/ACPFilters/ByUserFilterTest.php | 1 - .../Tests/Export/Filter/ACPFilters/EmergencyFilterTest.php | 1 - .../Export/Filter/ACPFilters/LocationTypeFilterTest.php | 1 - .../Export/Filter/ACPFilters/SentReceivedFilterTest.php | 1 - .../Tests/Export/Filter/ACPFilters/UserFilterTest.php | 1 - .../Tests/Export/Filter/ACPFilters/UserScopeFilterTest.php | 1 - .../Tests/Export/Filter/ActivityDateFilterTest.php | 1 - .../Export/Filter/PersonFilters/ActivityReasonFilterTest.php | 1 - .../PersonHavingActivityBetweenDateFilterTest.php | 1 - src/Bundle/ChillMainBundle/Entity/GeographicalUnitLayer.php | 1 - .../ChillMainBundle/Repository/CenterRepositoryInterface.php | 1 - .../Repository/GeographicalUnitLayerLayerRepository.php | 1 - .../Repository/GeographicalUnitLayerRepositoryInterface.php | 1 - .../Repository/GeographicalUnitRepository.php | 1 - .../Repository/GeographicalUnitRepositoryInterface.php | 1 - .../ChillMainBundle/Repository/ScopeRepositoryInterface.php | 1 - .../Service/Import/GeographicalUnitBaseImporter.php | 1 - .../Services/Import/GeographicalUnitBaseImporterTest.php | 1 - .../ChillMainBundle/migrations/Version20220913174922.php | 1 - .../ChillMainBundle/migrations/Version20221003112151.php | 1 - .../ChillMainBundle/migrations/Version20221003132620.php | 1 - .../ChillPersonBundle/Entity/Person/PersonCenterCurrent.php | 1 - .../ChillPersonBundle/Entity/Person/PersonCenterHistory.php | 1 - .../GeographicalUnitStatAggregator.php | 1 - .../ReferrerScopeAggregator.php | 1 - .../AccompanyingCourseAggregators/RequestorAggregator.php | 1 - .../PersonAggregators/GeographicalUnitAggregator.php | 1 - .../SocialWorkAggregators/GoalResultAggregator.php | 1 - .../Export/Filter/PersonFilters/GeographicalUnitFilter.php | 5 ++--- .../Export/Filter/PersonFilters/MaritalStatusFilter.php | 1 - .../AccompanyingPeriod/ClosingMotiveRepositoryInterface.php | 1 - .../Repository/Person/PersonCenterHistoryInterface.php | 1 - .../Repository/Person/PersonCenterHistoryRepository.php | 1 - .../AdministrativeLocationAggregatorTest.php | 1 - .../ClosingMotiveAggregatorTest.php | 1 - .../ConfidentialAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/DurationAggregatorTest.php | 1 - .../EmergencyAggregatorTest.php | 1 - .../EvaluationAggregatorTest.php | 1 - .../GeographicalUnitStatAggregatorTest.php | 1 - .../IntensityAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/JobAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/OriginAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/ReferrerAggregatorTest.php | 1 - .../ReferrerScopeAggregatorTest.php | 1 - .../RequestorAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/ScopeAggregatorTest.php | 1 - .../SocialActionAggregatorTest.php | 1 - .../SocialIssueAggregatorTest.php | 1 - .../AccompanyingCourseAggregators/StepAggregatorTest.php | 1 - .../EvaluationAggregators/EvaluationTypeAggregatorTest.php | 1 - .../HouseholdAggregators/ChildrenNumberAggregatorTest.php | 1 - .../HouseholdAggregators/CompositionAggregatorTest.php | 1 - .../PersonAggregators/CountryOfBirthAggregatorTest.php | 1 - .../PersonAggregators/HouseholdPositionAggregatorTest.php | 1 - .../PersonAggregators/MaritalStatusAggregatorTest.php | 1 - .../SocialWorkAggregators/GoalResultAggregatorTest.php | 1 - .../Aggregator/SocialWorkAggregators/JobAggregatorTest.php | 1 - .../Aggregator/SocialWorkAggregators/ScopeAggregatorTest.php | 1 - .../Filter/EvaluationFilters/EvaluationTypeFilterTest.php | 1 - .../Export/Filter/EvaluationFilters/MaxDateFilterTest.php | 1 - .../Export/Filter/HouseholdFilters/CompositionFilterTest.php | 1 - .../PersonFilters/AccompanyingPeriodClosingFilterTest.php | 1 - .../PersonFilters/AccompanyingPeriodOpeningFilterTest.php | 1 - .../Tests/Export/Filter/PersonFilters/AgeFilterTest.php | 1 - .../Export/Filter/PersonFilters/DeadOrAliveFilterTest.php | 1 - .../Export/Filter/PersonFilters/DeathdateFilterTest.php | 1 - .../Export/Filter/PersonFilters/MaritalStatusFilterTest.php | 1 - .../Export/Filter/PersonFilters/NationalityFilterTest.php | 1 - .../ResidentialAddressAtThirdpartyFilterTest.php | 1 - .../PersonFilters/ResidentialAddressAtUserFilterTest.php | 1 - .../Export/Filter/SocialWorkFilters/ReferrerFilterTest.php | 1 - .../Filter/SocialWorkFilters/SocialWorkTypeFilterTest.php | 1 - .../Tests/Repository/PersonACLAwareRepositoryTest.php | 1 - .../ChillPersonBundle/migrations/Version20220926154347.php | 1 - .../Tests/Export/Filter/ReportDateFilterTest.php | 1 - .../Tests/Repository/SingleTaskACLAwareRepositoryTest.php | 1 - 93 files changed, 2 insertions(+), 95 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/Repository/ActivityTypeRepositoryInterface.php b/src/Bundle/ChillActivityBundle/Repository/ActivityTypeRepositoryInterface.php index d8944855c..2148a02f5 100644 --- a/src/Bundle/ChillActivityBundle/Repository/ActivityTypeRepositoryInterface.php +++ b/src/Bundle/ChillActivityBundle/Repository/ActivityTypeRepositoryInterface.php @@ -1,6 +1,5 @@ translatableStringHelper->localize($item->getLayer()->getName()) . ' > ' . $item->getUnitName(); - }, + return $this->translatableStringHelper->localize($item->getLayer()->getName()) . ' > ' . $item->getUnitName(); + }, $data['units']->toArray() ) ), diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/MaritalStatusFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/MaritalStatusFilter.php index f78f26e9b..a3d2260e3 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/MaritalStatusFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/MaritalStatusFilter.php @@ -1,6 +1,5 @@