rector/config/set/type-declaration.php

13 lines
403 B
PHP
Raw Normal View History

2020-07-18 16:57:24 +00:00
<?php
declare (strict_types=1);
namespace RectorPrefix202403;
2020-07-18 16:57:24 +00:00
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);
2020-07-18 16:57:24 +00:00
};