mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 20:28:21 +01:00
5464ca5ec7
* Update phpstan level * Refactor to meet phpstan level 5
30 lines
712 B
YAML
30 lines
712 B
YAML
version: '3'
|
|
|
|
services:
|
|
tests:
|
|
build: ./
|
|
working_dir: /project
|
|
command: bash -c "composer install && ./vendor/bin/phpunit"
|
|
volumes:
|
|
- ./:/project
|
|
coverage:
|
|
build: ./
|
|
working_dir: /project
|
|
command: bash -c "composer install && ./vendor/bin/phpunit --coverage-text"
|
|
volumes:
|
|
- ./:/project
|
|
environment:
|
|
- XDEBUG_MODE=coverage
|
|
analysis:
|
|
build: ./
|
|
working_dir: /project
|
|
command: bash -c "composer install && ./vendor/bin/phpstan analyze --memory-limit=512M ./src"
|
|
volumes:
|
|
- ./:/project
|
|
standards:
|
|
build: ./
|
|
working_dir: /project
|
|
command: bash -c "composer install && ./vendor/bin/phpcs"
|
|
volumes:
|
|
- ./:/project
|