diff --git a/contributing/code_of_conduct/concrete_example_document.rst b/contributing/code_of_conduct/concrete_example_document.rst new file mode 100644 index 00000000000..6f1277a625a --- /dev/null +++ b/contributing/code_of_conduct/concrete_example_document.rst @@ -0,0 +1,30 @@ +Code of Conduct: Concrete Example Document +========================================== + +This is a living document that serves to give concrete examples of +unwanted behaviour. These examples have all taken place somewhere in the +PHP community in the past, and are clear code of conduct violations +according to the Symfony code of conduct. + +Concrete Examples +----------------- + +* Unwelcome comments regarding a person’s lifestyle choices and practices, + including those related to food, health, parenting, drugs, and employment; +* Deliberate misgendering or use of `dead names`_ (The birth name + of a person who has since changed their name, often a transgender person); +* Threats of violence like "The person that created this PR should be + punched in the face"; +* Incitement of violence towards any individual, including encouraging a + person to commit suicide or to engage in self-harm (even as a joke); +* Sustained disruption of discussion; +* Pattern of inappropriate social contact, such as requesting/assuming + inappropriate levels of intimacy with others; +* Continued one-on-one communication after requests to cease; +* Putting down people based on their technology choices or their work. + +The original list is inspired and modified from `geek feminism`_ and +confirmed by experiences from PHPWomen. + +.. _dead names: https://en.wiktionary.org/wiki/deadname +.. _geek feminism: https://geekfeminism.org/about/code-of-conduct diff --git a/contributing/code_of_conduct/index.rst b/contributing/code_of_conduct/index.rst new file mode 100644 index 00000000000..e0ddb07476f --- /dev/null +++ b/contributing/code_of_conduct/index.rst @@ -0,0 +1,92 @@ +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, ethnic origin, gender identity and expression, level of experience, +education, socio-economic status, nationality, personal appearance, +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 +-------------------- + +:doc:`Enforcement team members ` +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. + +Enforcement team members 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 both within project spaces and in public spaces +when an individual is representing the project or its community. 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 enforcement team members. + +Enforcement +----------- + +Instances of abusive, harassing, or otherwise unacceptable behavior +:doc:`may be reported ` +by contacting the :doc:`enforcement team members `. +All complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The enforcement team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Enforcement team members who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by the +:doc:`core team `. + +Attribution +----------- + +This Code of Conduct is adapted from the `Contributor Covenant`_, version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +Related Documents +----------------- + +.. toctree:: + :maxdepth: 1 + + reporting_guidelines + enforcement_team + concrete_example_document + +.. _Contributor Covenant: https://www.contributor-covenant.org