Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website] / vendor / consolidation / site-alias / CONTRIBUTING.md
1 # Contributing to SiteAlias
2
3 Thank you for your interest in contributing to SiteAlias! Here are some of the guidelines you should follow to make the most of your efforts:
4
5 ## Code Style Guidelines
6
7 This project adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code. An `.editorconfig` file is included with the repository to help you get up and running quickly. Most modern editors support this standard, but if yours does not or you would like to configure your editor manually, follow the guidelines in the document linked above.
8
9 You can run the PHP Codesniffer on your work using a convenient command provided as a composer script:
10 ```
11 composer cs
12 ```
13 The above will run the PHP Codesniffer on the project sources. To automatically clean up code style violations, run:
14 ```
15 composer cbf
16 ```
17 Please ensure all contributions are compliant _before_ submitting a pull request.
18
19 ## Code of Conduct
20
21 ### Our Pledge
22
23 In the interest of fostering an open and welcoming environment, we as
24 contributors and maintainers pledge to making participation in our project and
25 our community a harassment-free experience for everyone, regardless of age, body
26 size, disability, ethnicity, gender identity and expression, level of experience,
27 nationality, personal appearance, race, religion, or sexual identity and
28 orientation.
29
30 ### Our Standards
31
32 Examples of behavior that contributes to creating a positive environment
33 include:
34
35 * Using welcoming and inclusive language
36 * Being respectful of differing viewpoints and experiences
37 * Gracefully accepting constructive criticism
38 * Focusing on what is best for the community
39 * Showing empathy towards other community members
40
41 Examples of unacceptable behavior by participants include:
42
43 * The use of sexualized language or imagery and unwelcome sexual attention or
44 advances
45 * Trolling, insulting/derogatory comments, and personal or political attacks
46 * Public or private harassment
47 * Publishing others' private information, such as a physical or electronic
48   address, without explicit permission
49 * Other conduct which could reasonably be considered inappropriate in a
50   professional setting
51
52 ### Our Responsibilities
53
54 Project maintainers are responsible for clarifying the standards of acceptable
55 behavior and are expected to take appropriate and fair corrective action in
56 response to any instances of unacceptable behavior.
57
58 Project maintainers have the right and responsibility to remove, edit, or
59 reject comments, commits, code, wiki edits, issues, and other contributions
60 that are not aligned to this Code of Conduct, or to ban temporarily or
61 permanently any contributor for other behaviors that they deem inappropriate,
62 threatening, offensive, or harmful.
63
64 ### Scope
65
66 This Code of Conduct applies both within project spaces and in public spaces
67 when an individual is representing the project or its community. Examples of
68 representing a project or community include using an official project e-mail
69 address, posting via an official social media account, or acting as an appointed
70 representative at an online or offline event. Representation of a project may be
71 further defined and clarified by project maintainers.
72
73 ### Enforcement
74
75 Instances of abusive, harassing, or otherwise unacceptable behavior may be
76 reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
77 complaints will be reviewed and investigated and will result in a response that
78 is deemed necessary and appropriate to the circumstances. The project team is
79 obligated to maintain confidentiality with regard to the reporter of an incident.
80 Further details of specific enforcement policies may be posted separately.
81
82 Project maintainers who do not follow or enforce the Code of Conduct in good
83 faith may face temporary or permanent repercussions as determined by other
84 members of the project's leadership.
85
86 ### Attribution
87
88 This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
89 available at [http://contributor-covenant.org/version/1/4][version]
90
91 [homepage]: http://contributor-covenant.org
92 [version]: http://contributor-covenant.org/version/1/4/