php-src/.github/ISSUE_TEMPLATE/bug_report.yml
Nikita Popov 8ba1267744 Add templates and workflows for GitHub issues
This adds the necessary templates and actions for
https://wiki.php.net/rfc/github_issues.

Closes GH-7694.
2021-12-04 16:40:18 +01:00

37 lines
993 B
YAML

name: Bug report
description: Create a bug report
labels: ["Bug", "Status: Needs Triage"]
body:
- type: textarea
attributes:
label: Description
description: "Please provide a minimal way to reproduce the problem and describe what the expected vs actual behavior is. Provide a [3v4l.org](https://3v4l.org/) link if possible."
value: |
The following code:
```php
<?php
```
Resulted in this output:
```
```
But I expected this output instead:
```
```
validations:
required: true
- type: input
attributes:
label: PHP Version
description: "The used PHP version. Make sure it is [supported](https://www.php.net/supported-versions.php)."
placeholder: "PHP 8.0.12"
validations:
required: true
- type: input
attributes:
label: Operating System
description: "The used operating system, if relevant."
placeholder: "Ubuntu 20.04"