Update phpunit configs to fulfil v10.1

This commit is contained in:
Alejandro Celaya 2023-04-14 09:44:01 +02:00
parent 3dbca2115c
commit f2196583c8
5 changed files with 26 additions and 26 deletions

View File

@ -69,7 +69,7 @@
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/php-code-coverage": "^10.0",
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^10.1",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.3.0",
"shlinkio/shlink-test-utils": "^3.5",

View File

@ -12,10 +12,10 @@
</testsuite>
</testsuites>
<coverage>
<source>
<include>
<directory suffix=".php">./module/Core/src</directory>
<directory suffix=".php">./module/Rest/src</directory>
<directory>./module/Core/src</directory>
<directory>./module/Rest/src</directory>
</include>
</coverage>
</source>
</phpunit>

View File

@ -12,10 +12,10 @@
</testsuite>
</testsuites>
<coverage>
<source>
<include>
<directory suffix=".php">./module/CLI/src</directory>
<directory suffix=".php">./module/Core/src</directory>
<directory>./module/CLI/src</directory>
<directory>./module/Core/src</directory>
</include>
</coverage>
</source>
</phpunit>

View File

@ -12,14 +12,14 @@
</testsuite>
</testsuites>
<coverage>
<source>
<include>
<directory suffix=".php">./module/*/src/Repository</directory>
<directory suffix=".php">./module/*/src/**/Repository</directory>
<directory suffix=".php">./module/*/src/**/**/Repository</directory>
<directory suffix=".php">./module/*/src/Spec</directory>
<directory suffix=".php">./module/*/src/**/Spec</directory>
<directory suffix=".php">./module/*/src/**/**/Spec</directory>
<directory>./module/*/src/Repository</directory>
<directory>./module/*/src/**/Repository</directory>
<directory>./module/*/src/**/**/Repository</directory>
<directory>./module/*/src/Spec</directory>
<directory>./module/*/src/**/Spec</directory>
<directory>./module/*/src/**/**/Spec</directory>
</include>
</coverage>
</source>
</phpunit>

View File

@ -18,17 +18,17 @@
</testsuite>
</testsuites>
<coverage>
<source>
<include>
<directory suffix=".php">./module/*/src</directory>
<directory>./module/*/src</directory>
</include>
<exclude>
<directory suffix=".php">./module/Core/src/Repository</directory>
<directory suffix=".php">./module/Core/src/**/Repository</directory>
<directory suffix=".php">./module/Core/src/**/**/Repository</directory>
<directory suffix=".php">./module/Core/src/Spec</directory>
<directory suffix=".php">./module/Core/src/**/Spec</directory>
<directory suffix=".php">./module/Core/src/**/**/Spec</directory>
<directory>./module/Core/src/Repository</directory>
<directory>./module/Core/src/**/Repository</directory>
<directory>./module/Core/src/**/**/Repository</directory>
<directory>./module/Core/src/Spec</directory>
<directory>./module/Core/src/**/Spec</directory>
<directory>./module/Core/src/**/**/Spec</directory>
</exclude>
</coverage>
</source>
</phpunit>