Skip to content

Commit 3a3a016

Browse files
committed
Don't require previous exception codes to be passed on
1 parent e88895b commit 3a3a016

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
declare(strict_types=1);
66

7+
use Rector\CodeQuality\Rector\Catch_\ThrowWithPreviousExceptionRector;
78
use Rector\Config\RectorConfig;
89

910
return RectorConfig::configure()
@@ -28,4 +29,7 @@
2829
->withComposerBased(phpunit: true)
2930
->withTreatClassesAsFinal()
3031
->withFluentCallNewLine()
32+
->withSkip([
33+
ThrowWithPreviousExceptionRector::class,
34+
])
3135
;

0 commit comments

Comments
 (0)