Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 460 Bytes

development.md

File metadata and controls

22 lines (20 loc) · 460 Bytes

How to develop this bundle?

Use docker for local tasks

docker-compose run php sh
# Install dependencies
composer install
# Run unittests
vendor/bin/phpunit
# Fix styling
vendor/bin/php-cs-fixer fix --diff src
vendor/bin/php-cs-fixer fix --diff tests
# Check code
vendor/bin/psalm

Enable xdebug inside the container

docker-php-ext-enable xdebug
export XDEBUG_CONFIG="client_host=172.17.0.1 idekey=PHPSTORM"
export XDEBUG_MODE="debug"