Skip to content

Commit c902d99

Browse files
author
Paramtamtam
committed
Added: GitHub issues templates
1 parent 5d9cb91 commit c902d99

File tree

5 files changed

+90
-12
lines changed

5 files changed

+90
-12
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
## Describe the bug
8+
9+
> A clear and concise description of what the bug is.
10+
11+
### Expected behaviour
12+
13+
> Tell us what should happen.
14+
15+
### Actual behaviour
16+
17+
> Tell us what happens instead.
18+
19+
### Steps to reproduce the behavior:
20+
21+
> Put some code example:
22+
>
23+
> ```php
24+
> $some = new \stdClass();
25+
> echo $some;
26+
>
27+
> PHP Catchable fatal error: Object of class stdClass could not be converted to string in Command line code on line 2
28+
> PHP Stack trace:
29+
> PHP 1. {main}() Command line code:0
30+
> ```
31+
32+
## System information
33+
34+
> Please, complete the following information:
35+
36+
- PHP version(s): [e.g. `7.2.6`]
37+
- Package version(s): [e.g. `1.0.1`]
38+
39+
## Additional context
40+
41+
> Add any other context about the problem here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this package
4+
5+
---
6+
7+
### Is your feature request related to a problem?
8+
9+
> A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
11+
### Describe the solution you'd like
12+
13+
> A clear and concise description of what you want to happen.
14+
15+
## Additional context
16+
17+
> Add any other context about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Question
3+
about: Ask anything
4+
5+
---
6+
7+
> If you have any questions feel free to ask

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
| Q | A
2+
| ------------- | ---
3+
| Bug fix? | Yes or No
4+
| New feature? | Yes or No
5+
6+
## Description
7+
8+
> Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
9+
10+
Fixes # (issue)
11+
12+
## Checklist
13+
14+
- [ ] My code follows the style guidelines of this project
15+
- [ ] I have performed a self-review of my own code
16+
- [ ] I have commented my code, particularly in hard-to-understand areas
17+
- [ ] I wrote unit tests for my code
18+
- [ ] I have made changes in [CHANGELOG.md](https://github.com/avto-dev/app-version-laravel/blob/master/CHANGELOG.md) file
19+
20+
> About your changes in `CHANGELOG.md`:
21+
>
22+
> * Add new version header like `## v1.x.x`, if it does not exists
23+
> * Add description under `added`/`changed`/`fixed` sections
24+
> * Add reference to closed issues `[#000]`
25+
> * Add link to issue in the end of document

0 commit comments

Comments
 (0)