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