PHPCSStandards / composer-installer

Composer installer for PHP_CodeSniffer coding standards
https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer
MIT License
559 stars 36 forks source link

Update code of conduct #117

Closed Potherca closed 3 years ago

Potherca commented 4 years ago

This MR moves the code of conduct from CONTRIBUTING.md into a separate file, updates the code-of-conduct to Contributor Covenant v2 and replaces Frencks email with my own for reporting issues.

It also adds a Contributor Covenant badge to README file, to show we adhere to the covenant.

Potherca commented 3 years ago

For GH to pick up on the file automatically, it should be called CODE_OF_CONDUCT.md (underscores, not dashes).

Yeah, that's a derp on my side.

As we already have a .github directory in place, I'd like to suggest moving the file there. That's a fully supported location.

I personally prefer having the file in the root, making it possible to link to it from markdown (and on Github Pages if/when they are used).