Update test methods to static in AbstractFilterTest

The methods getFormData() and getQueryBuilders() across multiple test classes have been updated to static methods. This refactoring is part of a broader effort to improve code structure and readability. A rector rule has been employed to assist in the systematic update of these existing methods.
This commit is contained in:
2024-02-14 22:35:15 +01:00
parent 1f460916b6
commit 35d55cced4
67 changed files with 139 additions and 324 deletions

View File

@@ -52,6 +52,7 @@ return static function (RectorConfig $rectorConfig): void {
// chill rules
//$rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class);
$rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleMakeDataProviderStaticForAbstractFilterTestRector::class);
// skip some path...
$rectorConfig->skip([