Skip to content

Commit

Permalink
PHPUnit 11 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Mar 15, 2024
1 parent ffd450e commit 0c02c7c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"psr/http-message": "^1.1 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5.3",
"phpunit/phpunit": "^11.0.6",
"nyholm/psr7": "^1.8.1"
},
"autoload": {
Expand Down
44 changes: 24 additions & 20 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" cacheResult="true" colors="true" cacheDirectory=".phpunit.cache" requireCoverageMetadata="false" beStrictAboutCoverageMetadata="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="build/coverage-html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
</report>
</coverage>
<logging>
<testdoxHtml outputFile="build/coverage-html"/>
</logging>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php"
executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" cacheResult="true" colors="true"
cacheDirectory=".phpunit.cache" requireCoverageMetadata="false" beStrictAboutCoverageMetadata="true"
displayDetailsOnTestsThatTriggerDeprecations="true" failOnDeprecation="true" stopOnDeprecation="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="build/coverage-html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
</report>
</coverage>
<logging>
<testdoxHtml outputFile="build/coverage-html"/>
</logging>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>

0 comments on commit 0c02c7c

Please sign in to comment.