mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
[github] improve issue templates
This commit is contained in:
parent
ae2d852391
commit
d028f6cffa
23
.github/ISSUE_TEMPLATE/1_Bug_report.md
vendored
23
.github/ISSUE_TEMPLATE/1_Bug_report.md
vendored
|
@ -2,17 +2,22 @@
|
|||
name: Bug Report
|
||||
about: Report errors and problems
|
||||
---
|
||||
|
||||
<!-- First, thank you for reporting a bug. That takes time and we appreciate that! -->
|
||||
<!-- Let's start with common details: -->
|
||||
|
||||
| Subject | Details |
|
||||
| :------------- | :---------------------------------------------------------------------------- |
|
||||
| Language level | e.g. PHP 7.3 (invoke php -v or check composer.json) |
|
||||
| Framework | e.g. N/A, Symfony, Nette |
|
||||
| Subject | Details |
|
||||
| :------------- | :----------------------------------------------------------- |
|
||||
| PHP version | e.g. PHP 7.3 (invoke `php -v`) |
|
||||
| Full Command | e.g. vendor/bin/rector process /src --set dead-code --debug |
|
||||
|
||||
Current behaviour
|
||||
--
|
||||
## Current Behaviour
|
||||
|
||||
<!-- report from command line with --debug -->
|
||||
<!-- description/screenshot -->
|
||||
|
||||
Expected behaviour
|
||||
--
|
||||
## Minimal PHP Code Causing Issue
|
||||
|
||||
<!-- if possible, always run Rector on specfic file, that causes the error -->
|
||||
<!-- e.g. vendor/bin/rector process /src/SpecificFile.php --set dead-code --debug -->
|
||||
|
||||
## Expected Behaviour
|
||||
|
|
11
.github/ISSUE_TEMPLATE/2_Feature_request.md
vendored
11
.github/ISSUE_TEMPLATE/2_Feature_request.md
vendored
|
@ -5,8 +5,11 @@ about: RFC and ideas for new features and improvements
|
|||
|
||||
<!-- First, thank you for making a request. That takes time and we appreciate that! -->
|
||||
|
||||
Description (screenshot):
|
||||
--
|
||||
## Diff
|
||||
|
||||
Example
|
||||
--
|
||||
<!-- Use diff here in Markdown: https://stackoverflow.com/a/40883538/1348344 -->
|
||||
|
||||
```diff
|
||||
-$value = $value + 5;
|
||||
+$value += 5;
|
||||
```
|
||||
|
|
3
.github/ISSUE_TEMPLATE/3_Support_question.md
vendored
3
.github/ISSUE_TEMPLATE/3_Support_question.md
vendored
|
@ -3,5 +3,4 @@ name: Support Question
|
|||
about: Questions about using this library
|
||||
---
|
||||
|
||||
Question
|
||||
--
|
||||
## Question
|
||||
|
|
Loading…
Reference in New Issue
Block a user