jimmerioles/bitcoin-currency-converter-php

View on GitHub
rector.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\StmtsAwareInterface\DeclareStrictTypesRector;

return RectorConfig::configure()
    ->withPaths([
        __DIR__ . '/src',
        __DIR__ . '/tests',
    ])
    ->withPreparedSets(
        deadCode: true,
        codeQuality: true,
        codingStyle: true,
        typeDeclarations: true,
        privatization: true,
        earlyReturn: true
    )
    ->withRules([DeclareStrictTypesRector::class])
    ->withPhpSets(php80: true);