Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.03 KB

CONTRIBUTING.md

File metadata and controls

34 lines (26 loc) · 1.03 KB

CONTRIBUTING

Contributions are welcome and be fully credited <3

Before submitting any pull request please make sure that the coding standards are respected and that all the specification tests are passing.

Coding Standard

This library will use the Symfony2 Coding Standard.

Specification tests

Install PHPSpec globally with composer and run it in the project.

$ composer global require phpspec/phpspec:@stable
$ phpspec run -fpretty

Running test in docker container

$ docker run -it --rm -v $(pwd):/var/www -w /var/www php bash
$ apt update && apt install -y git unzip
$ docker-php-ext-install zip
$ curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer
$ composer global require phpspec/phpspec:@stable
$ phpspec run -fpretty

Happy coding !