Skip to content

Feature Request: Add Configuration Support for Custom Rulesets #80

@tugascrown204

Description

@tugascrown204

Feature Request: Support for Custom Configuration of Rules

Currently, the symplify/coding-standard package operates with the built-in SetList::SYMPLIFY, which is great for a standard coding practice. However, it would be beneficial to allow users to define their custom rulesets or configurations within the ecs.php file.

Proposed Changes:

  1. Introduce an API or configuration option to allow users to specify their own set of rules alongside or instead of the default set. This could be done by allowing users to create their custom class extending ECSConfig where they can define their preferences.
  2. Documentation updates reflecting these changes, including examples on how to define custom rulesets and how they can be combined with existing ones.

Benefits:

  • Provides flexibility for teams with specific coding standards without modifying the underlying library.
  • Encourages wider adoption of the package in organizations with unique coding requirements.

This feature enhancement would significantly improve the usability of the symplify/coding-standard package, making it more appealing to a broader audience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions