mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Extend test coverage to PHP 8.3
This commit is contained in:
17
tests/rector.php
Normal file
17
tests/rector.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddCoversClassAttributeRector;
|
||||
use Rector\PHPUnit\AnnotationsToAttributes\Rector\ClassMethod\DataProviderAnnotationToAttributeRector;
|
||||
use Rector\PHPUnit\PHPUnit60\Rector\ClassMethod\AddDoesNotPerformAssertionToNonAssertingTestRector;
|
||||
use Rector\PHPUnit\AnnotationsToAttributes\Rector\ClassMethod\DependsAnnotationWithValueToAttributeRector;
|
||||
use \Rector\Php80\Rector\Class_\AnnotationToAttributeRector;
|
||||
|
||||
return static function(RectorConfig $rectorConfig): void {
|
||||
$rectorConfig->rule(AddCoversClassAttributeRector::class);
|
||||
$rectorConfig->rule(DataProviderAnnotationToAttributeRector::class);
|
||||
$rectorConfig->rule(AddDoesNotPerformAssertionToNonAssertingTestRector::class);
|
||||
$rectorConfig->rule(DependsAnnotationWithValueToAttributeRector::class);
|
||||
};
|
||||
Reference in New Issue
Block a user