Add a rule that requirest specific ecs set in ecs.php of particular project.
The rule should implement Rector\Monitor\Analyze\Contract\RuleProcessorInterface and check ecs for given sets. E.g., if PSR12 is requried, there should be ecs.php with:
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([
__DIR__ . '/src',
])
->withPreparedSets(psr12: true);
Add a rule that requirest specific ecs set in
ecs.phpof particular project.The rule should implement
Rector\Monitor\Analyze\Contract\RuleProcessorInterfaceand check ecs for given sets. E.g., if PSR12 is requried, there should beecs.phpwith: