Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
71 lines (42 loc) · 1.18 KB

CONTRIBUTING.md

File metadata and controls

71 lines (42 loc) · 1.18 KB

CONTRIBUTING

We are using GitHub Actions as a continuous integration system.

For details, see workflows/continuous-integration.yml.

Code Style

We are using friendsofphp/php-cs-fixer to automatically format the code.

Run

make fix

to automatically format the code.

Static Code Analysis

We are using phpstan/phpstan to statically analyze the code.

Run

make stan

to run a static code analysis.

Tests

We are using phpunit/phpunit to drive the development.

Run

make test

to run all the tests.

Mutation Tests

We are using infection/infection to ensure a minimum quality of the tests.

Enable Xdebug and run

make infection

to run mutation tests.

Extra lazy?

Run

make

to enforce coding standards, perform a static code analysis, and run tests!

💡 Run

make help

to display a list of available targets with corresponding descriptions.