Skip to content
onadrog edited this page Sep 11, 2021 · 1 revision

Dev:

Extending the package.

This package use docker as test container.

Requirements:

MakeFile:

# Run phpunit tests
make tests

# Run phpstan
make phpstan

# Run php-cs-fixer
make fixer

# Run the test env console command
make console
(e.g: make console cache:clear)

# Build docker image
make dockerbuild

# Remove docker image
make dockerrm

Note:

To run tests outside the docker image PHP >= 8.0 GDImage extension are required.

Contributing:

Clone the dev branch.

Before making a pull-request make sure you have written tests for your code and it cover almost 90%.

Use the Makefile command make phpstan and make tests.

Thanks you in advance to contribute for this project.

Clone this wiki locally