Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.09 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.09 KB

Contributing

Contribution are always welcome and much appreciated!

Before starting to contribute, you first need to install dev dependencies:

composer install --dev

Also, in an effort to maintain an homogeneous code base, we strongly encourage contributors to run PHP-CS-Fixer and PHPStan before submitting a Pull Request.

Coding standards

Coding standards are enforced using PHP-CS-Fixer

composer csfixer

Static code analysis

Static code analysis can be achieved using PHPStan

composer phpstan

Running Tests

The test suite is configured to use an SQLite in-memory database and generates a code coverage report in tests/coverage folder.

Default configuration (SQLite)

This configuration uses an in memory SQLite database and generates code coverage report in tests/coverage folder (requires PCOV extension).

composer test