File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ public function testUnparseDefault() {
4343 $ this ->unparseAndCompare ($ expected );
4444 }
4545
46+ /**
47+ * @doesNotPerformAssertions
48+ */
4649 public function testUnparseDefaultWithoutHeading () {
4750 $ this ->csv ->heading = false ;
4851 $ this ->csv ->auto (__DIR__ . '/fixtures/auto-double-enclosure.csv ' );
Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Rector \Config \RectorConfig ;
6- use Rector \PHPUnit \CodeQuality \Rector \Class_ \AddCoversClassAttributeRector ;
76use Rector \PHPUnit \AnnotationsToAttributes \Rector \ClassMethod \DataProviderAnnotationToAttributeRector ;
8- use Rector \PHPUnit \PHPUnit60 \Rector \ClassMethod \AddDoesNotPerformAssertionToNonAssertingTestRector ;
97use Rector \PHPUnit \AnnotationsToAttributes \Rector \ClassMethod \DependsAnnotationWithValueToAttributeRector ;
10- use \Rector \Php80 \Rector \Class_ \AnnotationToAttributeRector ;
8+ use Rector \PHPUnit \CodeQuality \Rector \Class_ \AddCoversClassAttributeRector ;
9+ use Rector \PHPUnit \PHPUnit60 \Rector \ClassMethod \AddDoesNotPerformAssertionToNonAssertingTestRector ;
1110
1211return static function (RectorConfig $ rectorConfig ): void {
13- $ rectorConfig ->rule (AddCoversClassAttributeRector::class);
12+ if (class_exists (AddCoversClassAttributeRector::class)) {
13+ $ rectorConfig ->rule (AddCoversClassAttributeRector::class);
14+ }
1415 $ rectorConfig ->rule (DataProviderAnnotationToAttributeRector::class);
1516 $ rectorConfig ->rule (AddDoesNotPerformAssertionToNonAssertingTestRector::class);
1617 $ rectorConfig ->rule (DependsAnnotationWithValueToAttributeRector::class);
You can’t perform that action at this time.
0 commit comments