Skip to content

Playground/Demo page #47

@kkmuffme

Description

@kkmuffme

Is your feature request related to a problem?

Describe the solution you'd like

It would be quite useful if phpcs had a playground/demo page like other tools e.g.

Main benefits are

  1. when people report issues that are rule related, they can reproduce the issue in the playground (optionally: ask for it with a github bot, like it's done for psalm issues) ensuring the issue is reproducible.
    This reduces the number of issues created that are caused by other things in a users config and reduces phpcs' maintainers workload

  2. allow users to easily test/check a specific rule/ruleset they might not have installed locally (like the tsc demo basically)

Additional context (optional)

psalm's demo page source code is available here https://github.com/psalm/psalm.dev and possibly act as a template for the demo to make implementation simple and fast

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions