Skip to content

Commit 7ea00d4

Browse files
authored
Merge pull request #995
Update issue templates
2 parents 8297c4b + afd8f87 commit 7ea00d4

File tree

2 files changed

+88
-69
lines changed

2 files changed

+88
-69
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
You are about to open an issue for the MongoDB PHP extension. If you instead
12+
intended to report an issue with the MongoDB PHP library, please do so via its
13+
repository[^1].
14+
15+
If you've identified a security vulnerability in a driver or any other MongoDB
16+
project, please create a vulnerability report[^2].
17+
18+
[^1]: https://github.com/mongodb/mongo-php-library
19+
[^2]: https://docs.mongodb.org/manual/tutorial/create-a-vulnerability-report
20+
-->
21+
22+
### Bug Report
23+
24+
<!--
25+
Briefly describe the issue. Feel free to cross-reference your report with any
26+
other related GitHub or JIRA issues for additional context. Before reporting an
27+
issue, check that you are using the most recent version of the extension and
28+
library.
29+
-->
30+
31+
### Environment
32+
33+
<!--
34+
What operating system and PHP version are you using? Mention if PHP was
35+
installed through a third-party bundle (e.g. MAMP, XAMPP) and report its version
36+
if applicable.
37+
38+
Include version information for the extension, libmongoc, and libbson. This may
39+
be collected by grepping phpinfo() output:
40+
41+
php -i | grep -E 'mongodb|libmongoc|libbson'
42+
43+
In some cases, it may be helpful to provide all phpinfo() output (e.g. `php -i`)
44+
and/or list all installed extensions (e.g. `php -m`).
45+
46+
Include version information for the library (if applicable). This may be
47+
collected by running the following from your project's root directory:
48+
49+
composer show mongodb/mongodb
50+
-->
51+
52+
### Test Script
53+
54+
<!--
55+
If possible, attach a complete PHP script that can be excuted on its own to
56+
reproduce the issue. Clarify whether this script can be run from the CLI or if
57+
it can must be run through a web SAPI.
58+
59+
If the error only presents itself in a web SAPI, note whether the issue can be
60+
reproduced with PHP's built-in web server[^1]. If not, please share your web
61+
server version and any relevant configuration details in the Environment section
62+
above.
63+
64+
[^1]: http://php.net/manual/en/features.commandline.webserver.php
65+
-->
66+
67+
### Expected and Actual Behavior
68+
69+
<!--
70+
How did the script fail to perform the expected task? Feel free to include debug
71+
and/or `var_dump()` output if that helps explain the error.
72+
73+
If the observed behavior is an unexpected exception, please include its full
74+
message and any relevant backtrace information. If you encountered a
75+
segmentation fault, please include a GDB backtrace[^3].
76+
77+
[^2]: https://bugs.php.net/bugs-generating-backtrace.php
78+
-->
79+
80+
### Debug Log
81+
82+
<!--
83+
If the issue relates to internal driver behavior (e.g. connection issues),
84+
please include a debug log[^3]. This may be generated by setting the
85+
`mongodb.debug` INI option to "stderr" or a directory (useful for web SAPIs).
86+
87+
[^3]: https://www.php.net/manual/en/mongodb.configuration.php#ini.mongodb.debug
88+
-->

0 commit comments

Comments
 (0)