Skip to content

Commit

Permalink
Merge pull request #2 from fjogeleit/docker-compose-version-update
Browse files Browse the repository at this point in the history
Update Docker Compose configuration
  • Loading branch information
fjogeleit authored Feb 11, 2022
2 parents 804bdb0 + cdccdb4 commit 6182cbc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ services:
composer:
image: composer:latest
entrypoint: composer
command: install
command: update
volumes:
- .:/app

phpunit:
image: jitesoft/phpunit:7.4
image: jitesoft/phpunit:8.0
depends_on:
- composer
volumes:
Expand Down
40 changes: 16 additions & 24 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<ini name="memory_limit" value="-1" />
<ini name="xdebug.idekey" value="PHPSTORM" />
</php>

<testsuites>
<testsuite name="UnitTest">
<directory>tests/UnitTest</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory>src</directory>
</include>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<ini name="xdebug.idekey" value="PHPSTORM"/>
</php>
<testsuites>
<testsuite name="UnitTest">
<directory>tests/UnitTest</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 6182cbc

Please sign in to comment.