Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
57 lines (40 loc) · 2.68 KB

CONTRIBUTING.md

File metadata and controls

57 lines (40 loc) · 2.68 KB

Contributing

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

The following is a set of guidelines for contributing to Weglot and its packages, which are hosted in the Weglot Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

Opening an issue

Each repository provides a template for issues. First, we need to know if it's a bug report or a feature report. Then what you expected to happen, a clear description of the problem you're facing, steps to reproduce and environment details: the client and language version are a big help.

Submitting a pull request

Keep your changes as focused as possible. If there are multiple changes you'd like to make, please consider submitting them as separate pull requests unless they are related to each other.

Here are a few tips to increase the likelihood of being merged:

Styleguides

Generally, we follow the style guidelines as suggested by the official language. However, we ask that you conform to the styles that already exist in the library. If you wish to deviate, please explain your reasoning.

Please run your code through: PHP CS Fixer

We provide configuration for this tool through .php_cs file.

Security issues

If you find any security risk in the project, please open an issue or contact us at support@weglot.com regarding the impact.

API Breaking changes

We care deeply about backward compatibility for our API clients libraries. If it's necessary, we're ready to break backward compatibility, but this should be pretty rare.

If you want to make a change that will break the backward compatibility of the API, open an issue first to discuss it with the maintainers.

Resources