Bump php to ^8.0, add tooling, linting, fixes

This commit is contained in:
Ismo Vuorinen
2024-12-11 12:58:22 +02:00
parent e12085be2c
commit aec5ec026a
30 changed files with 4467 additions and 2018 deletions

16
rector.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/config',
__DIR__.'/src',
__DIR__.'/tests',
])
->withPhpSets()
->withPreparedSets(deadCode: true, codeQuality: true)
->withImportNames(removeUnusedImports: true)
->withTypeCoverageLevel(0);