Skip to content

Commit

Permalink
Merge pull request #2351 from WordPress/feature/issue-templates-tweaks
Browse files Browse the repository at this point in the history
Issue template: minor tweaks
  • Loading branch information
dingo-d authored Aug 18, 2023
2 parents f9a73b4 + d180742 commit b4975aa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
29 changes: 17 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,14 @@ The error code for the sniff that is (or should be) being triggered (you
can see the sniff error codes by running `phpcs` with the `-s` flag).
e.g. `WordPress.PHP.NoSilencedErrors.Discouraged`
Note: only report issues for error codes starting with `WordPress` to this repo!
If the error code starts with `Universal`, `NormalizedArrays` or `Modernize` report the issue to PHPCSExtra.
If the error code starts with `Generic`, `PEAR`, `PSR1`, `PSR2`, `PSR12`, `Squiz` or `Zend` report the issue to PHP_CodeSniffer itself.
You can leave this section empty if you are reporting a false negative.
-->

## Custom ruleset
## Custom Ruleset
<!--
If the issue cannot be reproduced when using `--standard=WordPress` on the command line,
please post the relevant part of your custom ruleset here.
Expand All @@ -67,21 +71,22 @@ please post the relevant part of your custom ruleset here.
<!--
To find out the versions used:
* PHP: run `php -v`.
* PHPCS: run `[vendor/bin/]phpcs --version`
* WPCS: run `composer [global] info` for a Composer install.
* Packages: run `composer info` or run `composer [global] info` to see the installed versions.
-->

| Question | Answer
| ------------------------| -------
| PHP version | x.y.z
| PHP_CodeSniffer version | x.y.z
| WPCS version | x.y.z
| WPCS install type | e.g. Composer global, Composer project local, git clone, other (please expand)
| IDE (if relevant) | Name and version e.g. PhpStorm 2018.2.2
| Question | Answer
| ------------------------ | -------
| PHP version | x.y.z
| PHP_CodeSniffer version | x.y.z
| WordPressCS version | x.y.z
| PHPCSUtils version | x.y.z
| PHPCSExtra version | x.y.z
| WordPressCS install type | e.g. Composer global, Composer project local, other (please expand)
| IDE (if relevant) | Name and version e.g. PhpStorm 2018.2.2


## Additional Context (optional)
<!-- Add any other context about the problem here. -->

## Tested Against `develop` branch?
- [ ] I have verified the issue still exists in the `develop` branch of WPCS.
## Tested Against `develop` Branch?
- [ ] I have verified the issue still exists in the `develop` branch of WordPressCS.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/dependency-change.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: Dependency Change
about: A reminder to take action when a WPCS dependency changes
about: A reminder to take action when a WordPressCS dependency changes

---

<!-- PLEASE prefix the title the Issue with the dependency name and version when action should be taken e.g. PHPCS 4.0.0: ... -->

## Rationale

<!-- Why should this change be made in WPCS? -->
<!-- Why should this change be made in WordPressCS? -->

## References

Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ And preferably also code samples of code which shouldn't be flagged.

## Additional context (optional)
<!-- Add any other context or screenshots about the feature request here. -->

- [ ] I intend to create a pull request to implement this feature.

0 comments on commit b4975aa

Please sign in to comment.