mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 15:54:59 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -68,9 +68,7 @@ final class ReportControllerNextTest extends WebTestCase
|
||||
//filter customFieldsGroup to get only "situation de logement"
|
||||
$filteredCustomFieldsGroupHouse = array_filter(
|
||||
$customFieldsGroups,
|
||||
static function (CustomFieldsGroup $group) {
|
||||
return in_array('Situation de logement', $group->getName(), true);
|
||||
}
|
||||
static fn(CustomFieldsGroup $group) => in_array('Situation de logement', $group->getName(), true)
|
||||
);
|
||||
$this->group = $filteredCustomFieldsGroupHouse[0];
|
||||
}
|
||||
|
@@ -86,9 +86,7 @@ final class ReportControllerTest extends WebTestCase
|
||||
//filter customFieldsGroup to get only "situation de logement"
|
||||
$filteredCustomFieldsGroupHouse = array_filter(
|
||||
$customFieldsGroups,
|
||||
static function (CustomFieldsGroup $group) {
|
||||
return in_array('Situation de logement', $group->getName(), true);
|
||||
}
|
||||
static fn(CustomFieldsGroup $group) => in_array('Situation de logement', $group->getName(), true)
|
||||
);
|
||||
self::$group = $filteredCustomFieldsGroupHouse[0];
|
||||
|
||||
|
@@ -67,9 +67,7 @@ final class TimelineProviderTest extends WebTestCase
|
||||
self::$em
|
||||
->getRepository(\Chill\MainBundle\Entity\Scope::class)
|
||||
->findAll(),
|
||||
static function (Scope $scope) {
|
||||
return $scope->getName()['en'] === 'social';
|
||||
}
|
||||
static fn(Scope $scope) => $scope->getName()['en'] === 'social'
|
||||
);
|
||||
|
||||
$report = (new Report())
|
||||
|
Reference in New Issue
Block a user