add solutions for chapter 10

This commit is contained in:
lubiana 2022-05-23 22:08:50 +02:00 committed by Andre Lubian
parent d880aeb9a6
commit e91a166816
18 changed files with 1872 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<?php declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([__DIR__ . '/src', __DIR__ . '/config', __DIR__ . '/ecs.php', __DIR__ . '/rector.php']);
$rectorConfig->importNames();
$rectorConfig->sets([LevelSetList::UP_TO_PHP_81]);
};