|
| 1 | +# Yii Contributor Code of Conduct |
| 2 | + |
| 3 | +## Our Pledge |
| 4 | + |
| 5 | +As contributors and maintainers of this project, and in order to keep Yii community open and welcoming, we ask to |
| 6 | +respect all community members. |
| 7 | + |
| 8 | +## Our Standards |
| 9 | + |
| 10 | +Examples of behavior that contributes to a positive environment for our community include: |
| 11 | + |
| 12 | +* Demonstrating empathy and kindness toward other people |
| 13 | +* Being respectful of differing opinions, viewpoints, and experiences |
| 14 | +* Giving and gracefully accepting constructive feedback |
| 15 | +* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience |
| 16 | +* Focusing on what is best not just for us as individuals, but for the overall community |
| 17 | + |
| 18 | +Examples of unacceptable behavior by participants include: |
| 19 | + |
| 20 | +* The use of sexualized language or imagery, and sexual attention or advances of any kind |
| 21 | +* Trolling, insulting or derogatory comments, and personal or political attacks |
| 22 | +* Public or private harassment |
| 23 | +* Publishing others' private information, such as a physical or email address, without their explicit permission |
| 24 | +* Other conduct which could reasonably be considered inappropriate in a professional setting |
| 25 | + |
| 26 | +## Enforcement Responsibilities |
| 27 | + |
| 28 | +Core team members are responsible for clarifying and enforcing our standards of acceptable behavior and will take |
| 29 | +appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, |
| 30 | +or harmful. |
| 31 | + |
| 32 | +Core team members have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, |
| 33 | +issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for |
| 34 | +moderation decisions when appropriate. |
| 35 | + |
| 36 | +## Scope |
| 37 | + |
| 38 | +This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing |
| 39 | +the community in public spaces. Examples of representing a project or community include using an official e-mail |
| 40 | +address, posting via an official social media account, within project GitHub, official forum or acting as an appointed |
| 41 | +representative at an online or offline event. |
| 42 | + |
| 43 | +## Enforcement |
| 44 | + |
| 45 | +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting core team members. All |
| 46 | +complaints will be reviewed and investigated promptly and fairly. |
| 47 | + |
| 48 | +All core team members are obligated to respect the privacy and security of the reporter of any incident. |
| 49 | + |
| 50 | +## Enforcement Guidelines |
| 51 | + |
| 52 | +Core team members will follow these Community Impact Guidelines in determining the consequences for any action they |
| 53 | +deem in violation of this Code of Conduct: |
| 54 | + |
| 55 | +### 1. Correction |
| 56 | + |
| 57 | +**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in |
| 58 | +the community. |
| 59 | + |
| 60 | +**Consequence**: A private, written warning from core team members, providing clarity around the nature of the violation |
| 61 | +and an explanation of why the behavior was inappropriate. A public apology may be requested. |
| 62 | + |
| 63 | +### 2. Warning |
| 64 | + |
| 65 | +**Community Impact**: A violation through a single incident or series of actions. |
| 66 | + |
| 67 | +**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including |
| 68 | +unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding |
| 69 | +interactions in community spaces as well as external channels like social media. Violating these terms may lead to |
| 70 | +a temporary or permanent ban. |
| 71 | + |
| 72 | +### 3. Temporary Ban |
| 73 | + |
| 74 | +**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. |
| 75 | + |
| 76 | +**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified |
| 77 | +period of time. No public or private interaction with the people involved, including unsolicited interaction with those |
| 78 | +enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. |
| 79 | + |
| 80 | +### 4. Permanent Ban |
| 81 | + |
| 82 | +**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate |
| 83 | +behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. |
| 84 | + |
| 85 | +**Consequence**: A permanent ban from any sort of public interaction within the community. |
| 86 | + |
| 87 | +## Attribution |
| 88 | + |
| 89 | +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at |
| 90 | +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. |
| 91 | + |
| 92 | +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. |
| 93 | + |
| 94 | +For answers to common questions about this code of conduct, see the FAQ at |
| 95 | +[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at |
| 96 | +[https://www.contributor-covenant.org/translations][translations]. |
| 97 | + |
| 98 | +[homepage]: https://www.contributor-covenant.org |
| 99 | +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html |
| 100 | +[Mozilla CoC]: https://github.com/mozilla/diversity |
| 101 | +[FAQ]: https://www.contributor-covenant.org/faq |
| 102 | +[translations]: https://www.contributor-covenant.org/translations |
0 commit comments