Skip to content

Commit

Permalink
Bump to phpunit v10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Dec 29, 2023
1 parent a06034d commit 834a510
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 30 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"friendsofphp/php-cs-fixer": "^3.43"
},
"require-dev": {
"nexusphp/tachycardia": "^1.4",
"nexusphp/tachycardia": "^2.1",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^9.6"
"phpunit/phpunit": "^10.5"
},
"conflict": {
"liaison/cs-config": "*"
Expand Down
53 changes: 25 additions & 28 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,39 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResultFile="build/phpunit/test-results"
colors="true"
columns="max"
executionOrder="random"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true"
forceCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true"
cacheDirectory="build/phpunit/cache"
columns="max"
requireCoverageMetadata="true"
>
<testsuites>
<testsuite name="NexusPHP CS Config Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>

<testsuites>
<testsuite name="NexusPHP CS Config Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>

<coverage cacheDirectory="build/phpunit/code-coverage"
ignoreDeprecatedCodeUnits="true"
processUncoveredFiles="true"
>
<include>
<directory suffix=".php">src</directory>
</include>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>

<report>
<clover outputFile="build/phpunit/logs/clover.xml"/>
<html outputDirectory="build/phpunit/logs/html"/>
</report>
</coverage>
<coverage ignoreDeprecatedCodeUnits="true">
<report>
<clover outputFile="build/phpunit/logs/clover.xml"/>
<html outputDirectory="build/phpunit/logs/html"/>
</report>
</coverage>

<extensions>
<extension class="Nexus\PHPUnit\Extension\Tachycardia" />
</extensions>
<extensions>
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension" />
</extensions>
</phpunit>

0 comments on commit 834a510

Please sign in to comment.