Make data providers static on AbstractExportTest.php and Write a rector rule to adapt existing

This commit is contained in:
2024-02-16 21:49:27 +01:00
parent b9ae878791
commit 07f03ab715
11 changed files with 489 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return static function (Rector\Config\RectorConfig $rectorConfig): void {
$rectorConfig->rule(Chill\Utils\Rector\Rector\ChillBundleMakeDataProviderStaticForAbstractExportTestRector::class);
};