You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
6
+
7
+
Examples of unacceptable behavior by participants include:
8
+
9
+
* The use of sexualized language or imagery
10
+
* Personal attacks
11
+
* Trolling or insulting/derogatory comments
12
+
* Public or private harassment
13
+
* Publishing other's private information, such as physical or electronic
14
+
addresses, without explicit permission
15
+
* Other unethical or unprofessional conduct
16
+
17
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
18
+
19
+
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
20
+
21
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
22
+
23
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project maintainer at [email protected]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
24
+
25
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available at [https://contributor-covenant.org/version/1/3/0/][version]
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,35 @@ We look forward to your contributions! Here are some examples how you can contri
7
7
*[Report a bug](https://github.com/sebastianbergmann/diff/issues/new)
8
8
*[Send a pull request to fix a bug](https://github.com/sebastianbergmann/diff/pulls)
9
9
10
-
Please do not send pull requests that expand the scope of this project (see below).
10
+
11
+
## We have a Code of Conduct
12
+
13
+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
11
14
12
15
13
16
## Any contributions you make will be under the BSD-3-Clause License
14
17
15
18
When you submit code changes, your submissions are understood to be under the same [BSD-3-Clause License](https://github.com/sebastianbergmann/diff/blob/main/LICENSE) that covers the project. By contributing to this project, you agree that your contributions will be licensed under its BSD-3-Clause License.
16
19
17
20
21
+
### Do Not Violate Copyright
22
+
23
+
Only submit a pull request with your own original code. Do NOT submit a pull request containing code which you have largely copied from
24
+
another project, unless you wrote the respective code yourself.
25
+
26
+
Open Source does not mean that copyright does not apply. Copyright infringements will not be tolerated and can lead to you being banned from this project and repository.
27
+
28
+
29
+
### Do Not Submit AI-Generated Pull Requests
30
+
31
+
The same goes for (largely) AI-generated pull requests. These are not welcome as they will be based on copyrighted code from others
32
+
without accreditation and without taking the license of the original code into account, let alone getting permission
33
+
for the use of the code or for re-licensing.
34
+
35
+
Aside from that, the experience is that AI-generated pull requests will be incorrect 100% of the time and cost reviewers too much time.
36
+
Submitting a (largely) AI-generated pull request will lead to you being banned from this project and repository.
37
+
38
+
18
39
## Write bug reports with detail, background, and sample code
19
40
20
41
[This is an example](https://github.com/sebastianbergmann/phpunit/issues/4376) of a bug report I wrote, and I think it's not too bad.
@@ -29,13 +50,17 @@ In your bug report, please provide the following:
29
50
* What actually happens
30
51
* Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
31
52
53
+
Please do not report a bug for a version of this library that is no longer supported. Please do not report a bug if you are using a version of PHP that is not supported by the version of this library you are using.
54
+
55
+
The library that is developed in this repository was either extracted from [PHPUnit](https://github.com/sebastianbergmann/phpunit) or developed specifically as a dependency for PHPUnit. Support for this library follows the [support for the version of PHPUnit that uses a specific version of this library](https://phpunit.de/supported-versions.html).
56
+
32
57
Please post code and output as text ([using proper markup](https://guides.github.com/features/mastering-markdown/)). Do not post screenshots of code or output.
33
58
34
59
35
60
## Workflow for Pull Requests
36
61
37
62
1. Fork the repository.
38
-
2. Create your branch from the oldest branch that is affected by the bug you plan to fix.
63
+
2. Create your branch from `main` if you plan to implement new functionality or change existing code significantly; create your branch from the oldest branch that is affected by the bug if you plan to fix a bug.
39
64
3. Implement your change and add tests for it.
40
65
4. Ensure the test suite passes.
41
66
5. Ensure the code complies with our coding guidelines (see below).
@@ -45,6 +70,12 @@ Please make sure you have [set up your username and email address](https://git-s
45
70
46
71
We encourage you to [sign your Git commits with your GPG key](https://docs.github.com/en/github/authenticating-to-github/signing-commits).
47
72
73
+
Pull requests for bug fixes must be made for the oldest branch that is supported (see above). Pull requests for new features must be based on the `main` branch.
74
+
75
+
We are trying to keep backwards compatibility breaks to an absolute minimum. Please take this into account when proposing changes.
76
+
77
+
Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us if you feel that we forgot to respond.
0 commit comments