diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..00f6f43f12 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,45 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**Code sample** +```php +echo "A short code snippet that can be used to reproduce the bug"; +``` + +**Custom ruleset** +```xml + + + If you are using a custom ruleset, please enter it here. + +``` + +**To reproduce** +Steps to reproduce the behavior: +1. Create a file called `test.php` with the code sample above... +2. Run `phpcs test.php ...` +3. See error message displayed +``` +PHPCS output here +``` + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Versions (please complete the following information):** + - OS: [e.g., Windows 10, MacOS 10.15] + - PHP: [e.g., 7.2, 7.4] + - PHPCS: [e.g., 3.5.5, master] + - Standard: [e.g., PSR2, PSR12, Squiz] + +**Additional context** +Add any other context about the problem here.