Skip to content

Commit

Permalink
Create rector.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Jan 18, 2025
1 parent 6fc38eb commit 5f874b6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;

return RectorConfig::configure()
->withPaths([
__DIR__ . '/config',
__DIR__ . '/src',
__DIR__ . '/tests',
__DIR__ . '/workbench',
])
->withPhpSets(php82: true)
->withTypeCoverageLevel(100)
->withDeadCodeLevel(100)
->withCodeQualityLevel(100);

0 comments on commit 5f874b6

Please sign in to comment.