diff --git a/Dockerfile b/Dockerfile index 16bbecf..c8dd985 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN pecl install xdebug-3.1.3 \ && docker-php-ext-enable xdebug COPY ./php-errors.ini /usr/local/etc/php/conf.d/docker-php-errors.ini +COPY ./php-xdebug.ini /usr/local/etc/php/conf.d/docker-php-xdebug.ini COPY --from=composer /usr/bin/composer /usr/bin/composer diff --git a/app/composer.json b/app/composer.json index d503569..65db656 100644 --- a/app/composer.json +++ b/app/composer.json @@ -1,5 +1,6 @@ { "name": "incoviba/web", + "version": "2.0.0", "type": "project", "require": { "berrnd/slim-blade-view": "^1.0", @@ -14,8 +15,10 @@ "slim/slim": "^4.11" }, "require-dev": { + "fakerphp/faker": "^1.23", "kint-php/kint": "^5.1", - "phpunit/phpunit": "^10.2" + "phpunit/phpunit": "^10.2", + "spatie/phpunit-watcher": "^1.23" }, "authors": [ { @@ -30,6 +33,7 @@ } }, "config": { - "sort-packages": true + "sort-packages": true, + "process-timeout": 0 } } diff --git a/php-xdebug.ini b/php-xdebug.ini new file mode 100644 index 0000000..cf6e6d6 --- /dev/null +++ b/php-xdebug.ini @@ -0,0 +1,2 @@ +[xdebug] +xdebug.mode=coverage