schneespur/vendor/sabberworm/php-css-parser/config/rector.php
Michael 2c63440ed8 Revert: move code back to project root from schneespur/ subdirectory
- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
  removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
2026-05-17 18:24:26 +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);