Looking to contribute something to php-date-formatter? Here's how you can help.
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
When reporting bugs or requesting features, the issue tracker on GitHub is the recommended channel to use.
The issue tracker is not a place for support requests. Refer the plugin documentation, plugin demos, and / or refer to the webtips Q & A forum which are the better places to get help.
We really appreciate clear bug reports that consistently show an issue within php-date-formatter.
The ideal bug report follows these guidelines:
master
branch.Please try to be as detailed as possible in your bug report, especially if an isolated test case cannot be made. Some useful questions to include the answer to are:
All of these questions will help others fix and identify any potential bugs.
Before starting work on a major feature for php-date-formatter, read the documentation first or you may risk spending a considerable amount of time on something which the project developers are not interested in bringing into the project.
We use GitHub's pull request system for submitting patches. Here are some guidelines to follow when creating the pull request for your fix.
src
directory will prevent merge conflicts from occuring. Making
this happen can be as a simple as not committing changes from the dist
directory.By following these steps, you will make it easier for your pull request to be reviewed and eventually merged.
Anyone can help the project maintainers triage issues and review pull requests.
php-date-formatter regularly receives new issues which need to be tested and organized.
When a new issue that comes in that is similar to another existing issue, it
should be checked to make sure it is not a duplicate. Duplicates issues should
be marked by replying to the issue with "Duplicate of #[issue number]" where
[issue number]
is the url or issue number for the existing issue. This will
allow the project maintainers to quickly close off additional issues and keep
the discussion focused within a single issue.
If you can test issues that are reported to php-date-formatter that contain test cases and confirm under what conditions bugs happen, that will allow others to identify what causes a bug quicker.
It is very common for pull requests to be opened for issues that contain a clear solution to the problem. These pull requests should be rigorously reviewed by the community before being accepted. If you are not sure about a piece of submitted code, or know of a better way to do something, do not hesitate to make a comment on the pull request.
If you come across tickets which have not been updated for a while, you are
encouraged to revive them. While this can be as simple as saying :+1:
, it is
best if you can include more information on the issue. Common bugs and feature
requests are more likely to be fixed, whether it is by the community or the
developers, so keeping tickets up to date is encouraged.
It should also be made clear that all code contributed to php-date-formatter must be licensable under the BSD-3 license. Code that cannot be released under this license cannot be accepted into the project.