Skip to content

[todo] add required ECS sets #2

@TomasVotruba

Description

@TomasVotruba

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions