- Updated phpcs.xml for improved formatting and structure. - Added Pest and Webmozart Assert extensions to phpstan.neon. - Enhanced phpunit.xml with additional test suites and configurations. - Bumped version in pint.json and added new rule for PHPDoc tags. - Updated rector.php to include new sets for code quality improvements. - Added .gitkeep files in Feature and Integration test directories.
23 lines
498 B
PHP
23 lines
498 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\SetList;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
])
|
|
->withPhpSets()
|
|
->withSets([
|
|
SetList::PHP_POLYFILLS,
|
|
SetList::CODE_QUALITY,
|
|
SetList::DEAD_CODE,
|
|
SetList::PRIVATIZATION,
|
|
SetList::TYPE_DECLARATION,
|
|
SetList::EARLY_RETURN,
|
|
SetList::INSTANCEOF,
|
|
SetList::IF,
|
|
]);
|