WordPress-Coding-Standards/.github/ISSUE_TEMPLATE/bug_report.md
jrfnl d18074211b
Issue template: minor tweaks
Updates for the issue templates in anticipation of the WPCS 3.0.0 release.
2023-08-17 18:11:23 +02:00

2.5 KiB

name about
Bug report Create a report to help us improve

Bug Description

Minimal Code Snippet

The issue happens when running this command:

phpcs ...

... over a file containing this code:

// Place your code sample here.

The file was auto-fixed via phpcbf to:

// Place your code sample here.

... while I expected the code to be fixed to:

// Place your code sample here.

Error Code

Custom Ruleset

<?xml version="1.0"?>
<ruleset name="My Custom Standard">
  ...
</ruleset>

Environment

Question Answer
PHP version x.y.z
PHP_CodeSniffer version x.y.z
WordPressCS version x.y.z
PHPCSUtils version x.y.z
PHPCSExtra version x.y.z
WordPressCS install type e.g. Composer global, Composer project local, other (please expand)
IDE (if relevant) Name and version e.g. PhpStorm 2018.2.2

Additional Context (optional)

Tested Against develop Branch?

  • I have verified the issue still exists in the develop branch of WordPressCS.