rector/config/set/type-declaration.php
Tomas Votruba 695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00

13 lines
403 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix202403;
use Rector\Config\Level\TypeDeclarationLevel;
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig) : void {
// the rule order matters, as its used in withTypeCoverageLevel() method
// place the safest rules first, follow by more complex ones
$rectorConfig->rules(TypeDeclarationLevel::RULES);
};