Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.43 KB

CONTRIBUTING.md

File metadata and controls

41 lines (28 loc) · 1.43 KB

Contribution Guide

Thank you for considering contributing to this project!, this project follows some code standards and practices.

Pull requests.

Please consider running tests before opening any pull request.

An ideal pull request should have:

  • Detailed descrition of the change.
  • Unit/integration tests.

Any pull request without test won't be merged unless the maintainer decides to merge it in some specific cases.

Coding style.

Laracombee follows the PSR-2 coding standard and the PSR-4 autoloading standard.

Doc blocks

Below is an example of a valid Laravel documentation block. Note that the @param attribute is followed by two spaces, the argument type, two more spaces, and finally the variable name:

/**
 * Register a binding with the container.
 *
 * @param  string|array  $abstract
 * @param  \Closure|string|null  $concrete
 * @param  bool  $shared
 * @return void
 */
public function bind($abstract, $concrete = null, $shared = false)
{
    //
}

Style CI

Don't worry if your code styling isn't perfect! StyleCI will automatically merge any style fixes into the Laravel-recombee (laracombee) after pull requests are merged. This allows us to focus on the content of the contribution and not the code style.