mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 04:01:30 +02:00
Add code standards check to dev environment
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
services:
|
||||
tests:
|
||||
build: ./
|
||||
working_dir: /project
|
||||
@@ -21,3 +21,9 @@ services:
|
||||
command: bash -c "composer install && ./vendor/bin/phpstan analyze --memory-limit=512M --level=4 ./src"
|
||||
volumes:
|
||||
- ./:/project
|
||||
standards:
|
||||
build: ./
|
||||
working_dir: /project
|
||||
command: bash -c "composer install && ./vendor/bin/phpcs"
|
||||
volumes:
|
||||
- ./:/project
|
||||
|
Reference in New Issue
Block a user