# This is for local development. NOT WORKING ATM!
# Docker image of PHP 5.3 lacks ssl module and composer requires it
# Also this image lacks git which is at some point required during installation of phpunit deps.
services:
app:
image: php:7-alpine3.16
working_dir: /app
command: >
/bin/sh -c "
rm -rf vendor &&
rm -f composer.lock composer.phar &&
curl -s https://getcomposer.org/download/2.0.0/composer.phar -o composer.phar &&
php composer.phar update --no-interaction --prefer-dist -vvv &&
vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky"
volumes:
- .:/app
In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.