-
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
129 changed files
with
5,028 additions
and
1,511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tidelift: "packagist/phpmd/phpmd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: "Bug" | ||
about: 'Report a problem with PHPMD' | ||
--- | ||
|
||
- PHPMD version: #.#.# | ||
- PHP Version: #.#.# | ||
- Installation type: (phar file/ composer) | ||
- Operating System / Distribution & Version: (Windows 10 / CentOS 7.6 / ...) | ||
|
||
### Current Behavior | ||
Explain the result that you get. | ||
|
||
### Expected Behavior | ||
Explain the result that you expected. | ||
|
||
### Steps To Reproduce: | ||
Explain **all** the steps you did to create this bug so we can reproduce it. | ||
|
||
## Checks before submitting | ||
* [ ] Be sure that there isn't already an issue about this. See: [Issues list](https://github.com/phpmd/phpmd/issues) | ||
* [ ] Be sure that there isn't already a pull request about this. See: [Pull requests](https://github.com/phpmd/phpmd/pulls) | ||
* [ ] I have added every step to reproduce the bug. | ||
* [ ] If possible I added relevant code examples. | ||
* [ ] This issue is about 1 bug and nothing more. | ||
* [ ] The issue has a descriptive title. For example: "JSON rendering failed on Windows for filenames with space". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: "Feature Proposal" | ||
about: 'Propose a new feature' | ||
|
||
--- | ||
|
||
## Description | ||
Describe the proposal, explain what it does and why. | ||
Try to describe the benefits but also the consequences of the proposal. | ||
|
||
## Checks before submitting | ||
* [ ] Be sure that there isn't already an issue about this. See: [Issues list](https://github.com/phpmd/phpmd/issues) | ||
* [ ] Be sure that there isn't already a pull request about this. See: [Pull requests](https://github.com/phpmd/phpmd/pulls) | ||
* [ ] Tell if you have the option to provide the code for this proposal. | ||
* [ ] This issue is about 1 feature proposal and nothing more. | ||
* [ ] The issue has a descriptive title. For example: "Add JSON render option". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: "Question" | ||
about: 'This repository is for bugs and feature proposals only. If you have any question please visit or community on Gitter to ask the questions: https://gitter.im/phpmd/community' | ||
--- | ||
|
||
This repository is only for bugs and feature proposals. | ||
|
||
If you have any question or need support please visit our Gitter channel: https://gitter.im/phpmd/community | ||
|
||
Thank you! |
16 changes: 16 additions & 0 deletions
16
.github/ISSUE_TEMPLATE/4_Documentation_and_Website_Issue.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: "Documentation & Website Issue" | ||
about: 'Do you see something incorrect or do you miss some information in the documentation or the website. Tell us.' | ||
--- | ||
|
||
## Description | ||
Describe what you miss or is incorrect on the [website](https://phpmd.org/) or in the documentation. Be as explicit as possible. | ||
If possible add a URL to the incorrect web page/documentation. | ||
|
||
|
||
## Checks before submitting | ||
* [ ] Be sure that there isn't already an issue about this. See: [Issues list](https://github.com/phpmd/phpmd/issues) | ||
* [ ] Be sure that there isn't already a pull request about this. See: [Pull requests](https://github.com/phpmd/phpmd/pulls) | ||
* [ ] Tell if you have the possibility to create a Pull Request to solve this issue. | ||
* [ ] If possible add a URL to the incorrect website page or documentation file. | ||
* [ ] This issue is about 1 documentation or website issue and nothing more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Type: (bugfix / feature / refactoring / documentation update) | ||
Issue: #.. the corresponding issue for this PR (if exist) | ||
Breaking change: yes/no (if yes explain why) | ||
|
||
<!-- | ||
Explain what the PR does and also why. If you have parts you are not sure about, please explain. | ||
Please check this points before submitting your PR. | ||
- Add test to cover the changes you made on the code. | ||
- If you have a change on the documentation, please link to the page that you change. | ||
- If you add a new feature please update the documentation in the same PR. | ||
- If you really need to add a breaking change, explain why it is needed. Understand that this result in a lower change to get the PR accepted. | ||
- Any PR need 2 approvals before it get merged, sometimes this can take some time. Please be patient. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ | |
.buildpath | ||
.settings | ||
composer.phar | ||
composer.lock | ||
vendor | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
build: | ||
environment: | ||
php: | ||
version: 7.1.0 | ||
tests: | ||
override: | ||
- | ||
command: 'phpunit --coverage-clover=some-file' | ||
coverage: | ||
file: 'some-file' | ||
format: 'clover' | ||
environment: | ||
php: | ||
version: 7.3.7 | ||
tests: | ||
override: | ||
- | ||
command: 'vendor/bin/phpunit --coverage-clover=coverage.xml' | ||
coverage: | ||
file: 'coverage.xml' | ||
format: 'clover' | ||
|
||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
php: | ||
code_rating: true | ||
duplication: true | ||
|
||
filter: | ||
excluded_paths: | ||
- src/test/resources/files/ | ||
excluded_paths: | ||
- src/test/resources/files/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.