To get started, you will need to have Docker installed on your machine. If you do not have Docker installed, you can download it here.
When you build the Docker container, it will install all the necessary dependencies and container will be ready to handle connection.
docker compose build
docker compose up
Then you can launch the following command to run the tests:
docker compose exec geo-parser-app vendor/bin/phpunit
This project uses PHP-CS-Fixer, PHP-Mess-detector and PHP-Stan to ensure code quality.
These tools are set up in the quality
directory.
Before committing,
you should run some commands to ensure that your code is properly formatted and free of errors.
Read the readme.md file for more information.
- Code formatting MUST follow PSR-2.
- Issues SHOULD include code and/or data to reproduce the issue.
- PR's for issues SHOULD include test(s) for issue.
- PR's SHOULD have adequate documentation (commit messages, comments, etc.) to readily convey what and/or why.
- Code SHOULD attempt to follow Object Calisthenics methodology.