Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 983 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (15 loc) · 983 Bytes

How to Contribute

The contribution guideline is derived from the SlimPHP contribution guideline

Pull Requests

  1. Fork the Moon Autoloader repository
  2. Create a new branch for each feature or improvement
  3. Send a pull request from each feature branch to the master branch

It is very important to separate new features or improvements into separate feature branches, and to send a pull request for each branch.

This allows me to review and pull in new features or improvements individually.

Style Guide

All pull requests must adhere to the code style specified in the .php_cs.dist file, you can easily run composer fix to do it automatically. Moon uses PHP-CS-Fixer to fix the code style.

Unit Testing

All pull requests must be accompanied by passing unit tests and complete code coverage. The Moon Autoloader uses phpunit for testing.

Learn about PHPUnit