Skip to content

Commit

Permalink
Доработан конфиг для тестов с покрытием
Browse files Browse the repository at this point in the history
  • Loading branch information
simba77 committed Jul 26, 2024
1 parent a470e40 commit 97b29b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .docker/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM php:8.3-fpm-alpine
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions gd opcache opcache pdo_mysql zip intl
install-php-extensions gd opcache opcache pdo_mysql zip intl xdebug

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

Expand Down
4 changes: 2 additions & 2 deletions .docker/php-fpm/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ error_reporting = E_ALL
display_errors = On
display_startup_errors = On

;zend_extension = xdebug.so
;xdebug.mode = debug
zend_extension = xdebug.so
xdebug.mode = coverage
;xdebug.start_with_request = trigger
;xdebug.discover_client_host = 1
;Settings for PhpStorm
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./modules</directory>
</include>
</source>
</phpunit>

0 comments on commit 97b29b0

Please sign in to comment.