schneespur/vendor/sabberworm/php-css-parser/config/rector.php
Michael ee3dbba6cc Initial release v1.0.0
Schneespur — Open-source winter service documentation software (PWA + Admin).
GPS tracking via OwnTracks, weather data, photo evidence, and legally
compliant service records for winter maintenance operators.

License: AGPL-3.0-or-later
2026-05-17 13:33:51 +00:00

39 lines
930 B
PHP

<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
return RectorConfig::configure()
->withPaths(
[
__DIR__ . '/../bin',
__DIR__ . '/../config',
__DIR__ . '/../src',
__DIR__ . '/../tests',
]
)
->withSets([
// Rector sets
LevelSetList::UP_TO_PHP_72,
// SetList::CODE_QUALITY,
// SetList::CODING_STYLE,
// SetList::DEAD_CODE,
// SetList::EARLY_RETURN,
// SetList::INSTANCEOF,
// SetList::NAMING,
// SetList::PRIVATIZATION,
SetList::STRICT_BOOLEANS,
SetList::TYPE_DECLARATION,
// PHPUnit sets
PHPUnitSetList::PHPUNIT_80,
// PHPUnitSetList::PHPUNIT_CODE_QUALITY,
])
->withImportNames(true, true, false);