Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 728 Bytes

docker.md

File metadata and controls

43 lines (30 loc) · 728 Bytes

Docker

Create and run the Docker instance:

docker compose up -d

Initialize project for development

docker exec -it fintecture-sdk-php make init

PHPUnit (Unit Tests)

Then you can run the tests:

docker exec -it fintecture-sdk-php make test

To generate the test coverage report, you can run this command:

docker exec -it fintecture-sdk-php make test_coverage

PHPStan (Static Analysis)

There are 9 levels (0-8). Level is set in phpstan.neon.

docker exec -it fintecture-sdk-php make analyse

PHP CS Fixer (Coding Standards)

docker exec -it fintecture-sdk-php make check
docker exec -it fintecture-sdk-php make format