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