[github] improve issue templates

This commit is contained in:
Tomas Votruba 2019-06-08 22:51:08 +02:00
parent ae2d852391
commit d028f6cffa
3 changed files with 22 additions and 15 deletions

View File

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

View File

@ -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;
```

View File

@ -3,5 +3,4 @@ name: Support Question
about: Questions about using this library
---
Question
--
## Question