chore: upgrade dependencies

This commit is contained in:
Younes ENNAJI
2024-09-21 02:57:48 +01:00
parent ff2cd6e384
commit 58ca234a37
6 changed files with 151 additions and 123 deletions
+7 -14
View File
@@ -2,13 +2,7 @@
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddSeeTestAnnotationRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\SetList;
return RectorConfig::configure()
return Rector\Config\RectorConfig::configure()
->withPaths([
__DIR__.'/src/',
__DIR__.'/tests/',
@@ -16,12 +10,11 @@ return RectorConfig::configure()
])
->withRootFiles()
->withSets([
SetList::PHP_82,
PHPUnitSetList::PHPUNIT_100,
PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES,
PHPUnitSetList::PHPUNIT_CODE_QUALITY,
Rector\Set\ValueObject\SetList::PHP_82,
Rector\PHPUnit\Set\PHPUnitSetList::PHPUNIT_110,
Rector\PHPUnit\Set\PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES,
Rector\PHPUnit\Set\PHPUnitSetList::PHPUNIT_CODE_QUALITY,
])
->withSkip([
AddSeeTestAnnotationRector::class,
StringClassNameToClassConstantRector::class,
->withRules([
Spatie\Ray\Rector\RemoveRayCallRector::class,
]);