-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
- Loading branch information
1 parent
52188fe
commit ed0837d
Showing
5 changed files
with
209 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, sex characteristics, gender identity and expression, | ||
level of experience, education, socio-economic status, nationality, personal | ||
appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
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. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all project spaces, and it also applies when | ||
an individual is representing the project or its community in public spaces. | ||
Examples of representing a project or community include using an official | ||
project e-mail address, posting via an official social media account, or acting | ||
as an appointed representative at an online or offline event. Representation of | ||
a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see | ||
https://www.contributor-covenant.org/faq |
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,97 @@ | ||
# Contribution Guide | ||
|
||
All contributions (in the form of pull requests, issues and proposals) are always welcomed. | ||
Please see the [contributors page](../../graphs/contributors) for a list of all contributors. | ||
|
||
Please check below the standards and practices that this project adheres to. | ||
|
||
## Etiquette | ||
|
||
This project is open source, and as such, the maintainers give their free time to build and maintain the source code held within. They make the code freely available in the hope that it will be of use to other developers. It would be extremely unfair for them to suffer abuse or anger for their hard work. | ||
|
||
Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the world that developers are civilized and selfless people. | ||
|
||
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used. | ||
|
||
## Versioning | ||
|
||
This package is versioned under the [Semantic Versioning][link-semver] guidelines as much as possible. | ||
|
||
Releases will be numbered with the following format: | ||
|
||
`<major>.<minor>.<patch>` | ||
|
||
And constructed with the following guidelines: | ||
|
||
* Breaking backward compatibility bumps the major and resets the minor and patch. | ||
* New additions without breaking backward compatibility bumps the minor and resets the patch. | ||
* Bug fixes and misc changes bumps the patch. | ||
|
||
## Coding Standards | ||
|
||
This package is compliant with the [PSR-1][link-psr-1], [PSR-2][link-psr-2] and [PSR-4][link-psr-4]. | ||
If you notice any compliance oversights, please send a patch via pull request. | ||
|
||
## Issues \ Bugs | ||
|
||
If you believe you've found a bug on this project, but you're not sure how to fix it, you may create an issue with `[Bug]` prefixed in the title. | ||
|
||
### Procedure | ||
|
||
Before filing an issue: | ||
|
||
- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident. | ||
- Check the issues tab to ensure that the bug was not already reported. | ||
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress. | ||
|
||
### Which Branch? | ||
|
||
**ALL** bug fixes should be made to the branch which they belong to. Bug fixes should never be sent to the `master` branch unless they fix features that exist only in the upcoming release. | ||
|
||
If a bug is found on a `minor` version `1.1` and it exists on the `major` version `1.0`, the bug fix should be sent to the `1.0` branch which will be afterwards merged into the `1.1` branch. | ||
|
||
> **Note:** Pull requests which do not follow these guidelines will be closed without any further notice. | ||
## Proposals | ||
|
||
If you have a proposal or a feature request, you may create an issue with `[Proposal]` prefixed in the title. | ||
|
||
The proposal should also describe the new feature, as well as implementation ideas. | ||
The proposal will then be reviewed and either approved or denied. Once a proposal is approved, a pull request may be created implementing the new feature. | ||
|
||
> When requesting or submitting new features, first consider whether it might be useful to others. Open source projects are used by many developers, who may have entirely different needs to your own. Think about whether or not your feature is likely to be used by other users of the project. | ||
### Procedure | ||
|
||
Before create a feature request: | ||
|
||
- Check the codebase to ensure that your feature doesn't already exist. | ||
- Check the issues tab to ensure that the feature request was not requested already. | ||
- Check the pull requests tab to ensure that the feature isn't already in progress. | ||
|
||
## Running Tests | ||
|
||
You will need an install of [Composer](https://getcomposer.org) before continuing. | ||
|
||
First, install the dependencies: | ||
|
||
```bash | ||
$ composer install | ||
``` | ||
|
||
Then run phpunit: | ||
|
||
```bash | ||
$ vendor/bin/phpunit | ||
``` | ||
|
||
If the test suite passes on your local machine you should be good to go. | ||
|
||
When you make a pull request, the tests will automatically be run again by [Travis CI][link-travis] on multiple php versions. | ||
|
||
|
||
[link-semver]: http://semver.org | ||
[link-travis]: https://travis-ci.org | ||
[link-psr-1]: http://www.php-fig.org/psr/psr-1/ | ||
[link-psr-2]: http://www.php-fig.org/psr/psr-2/ | ||
[link-psr-4]: http://www.php-fig.org/psr/psr-4/ |
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,23 @@ | ||
--- | ||
name: Bug Report | ||
about: Report errors and problems | ||
labels: bug | ||
--- | ||
|
||
### Your Environment | ||
|
||
- OS and Version: #.#.# | ||
- PHP Version: #.#.# | ||
- Stripe Laravel Version: #.#.# | ||
|
||
### Expected behaviour | ||
|
||
*Please describe what you are expecting to see happening.* | ||
|
||
### Actual behaviour | ||
|
||
*Please describe what is actually happening.* | ||
|
||
### Steps to reproduce | ||
|
||
*If your issue requires any specific steps to reproduce, please outline them here.* |
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,13 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest ideas for new features and improvements | ||
labels: enhancement | ||
--- | ||
|
||
## Description | ||
|
||
*Describe the idea in a clear and concise way.* | ||
|
||
## Example | ||
|
||
*Leave an example of the possible implementation.* |
This file was deleted.
Oops, something went wrong.